# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.85.0" name = "bincode" version = "2.0.1" authors = [ "Ty Overby ", "Zoey Riordan ", "Victor Koenders ", ] build = false exclude = [ "logo.svg", "examples/*", ".gitignore", ".github/", ] publish = true autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!" documentation = "https://docs.rs/bincode" readme = "readme.md" keywords = [ "binary", "encode", "decode", "serialize", "deserialize", ] categories = [ "encoding", "network-programming", ] license = "MIT" repository = "https://github.com/bincode-org/bincode" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [features] alloc = ["serde?/alloc"] default = [ "std", "derive", ] derive = ["bincode_derive"] std = [ "alloc", "serde?/std", ] [lib] name = "bincode" path = "src/lib.rs" [[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" [dependencies.bincode_derive] version = "2.0.1" optional = true [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.unty] version = "0.0.4" [dev-dependencies.bincode_1] version = "1.3" package = "bincode" [dev-dependencies.bumpalo] version = "3.16.0" features = ["collections"] [dev-dependencies.chrono] version = "0.4" features = ["serde"] [dev-dependencies.criterion] version = "0.5" [dev-dependencies.glam] version = "0.30" features = ["serde"] [dev-dependencies.ouroboros] version = "0.18.3" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.serde_json] version = "1.0" default-features = false [dev-dependencies.tempfile] version = "3.2" [dev-dependencies.uuid] version = "1.1" features = ["serde"] [profile.bench] lto = true codegen-units = 1 debug = 1