[[bench]]
harness = false
name = "inline"
path = "benches/inline.rs"
[[bench]]
harness = false
name = "string"
path = "benches/string.rs"
[[bench]]
harness = false
name = "varint"
path = "benches/varint.rs"
[dependencies.bincode_derive]
optional = true
version = "2.0.1"
[dependencies.serde]
default-features = false
optional = true
version = "1.0"
[dependencies.unty]
version = "0.0.4"
[dev-dependencies.bincode_1]
package = "bincode"
version = "1.3"
[dev-dependencies.bumpalo]
features = ["collections"]
version = "3.16.0"
[dev-dependencies.chrono]
features = ["serde"]
version = "0.4"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.glam]
features = ["serde"]
version = "0.25"
[dev-dependencies.ouroboros]
version = "0.18.3"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.serde_json]
default-features = false
version = "1.0"
[dev-dependencies.tempfile]
version = "3.2"
[dev-dependencies.uuid]
features = ["serde"]
version = "1.1"
[features]
alloc = ["serde?/alloc"]
default = ["std", "derive"]
derive = ["bincode_derive"]
std = ["alloc", "serde?/std"]
[lib]
name = "bincode"
path = "src/lib.rs"
[package]
authors = ["Ty Overby <ty@pre-alpha.com>", "Zoey Riordan <zoey@dos.cafe>", "Victor Koenders <bincode@trangar.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "network-programming"]
description = "A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!"
documentation = "https://docs.rs/bincode"
edition = "2021"
exclude = ["logo.svg", "examples/*", ".gitignore", ".github/"]
keywords = ["binary", "encode", "decode", "serialize", "deserialize"]
license = "MIT"
name = "bincode"
publish = true
readme = "readme.md"
repository = "https://github.com/bincode-org/bincode"
rust-version = "1.85.0"
version = "2.0.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.bench]
codegen-units = 1
debug = 1
lto = true
[[test]]
name = "alloc"
path = "tests/alloc.rs"
[[test]]
name = "atomic"
path = "tests/atomic.rs"
[[test]]
name = "basic_types"
path = "tests/basic_types.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "derive_rename"
path = "tests/derive_rename.rs"
[[test]]
name = "error_size"
path = "tests/error_size.rs"
[[test]]
name = "issues"
path = "tests/issues.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[test]]
name = "std"
path = "tests/std.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"