# 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 = "2018" rust-version = "1.53" name = "serde_bytes" version = "0.11.15" authors = ["David Tolnay "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Optimized handling of `&[u8]` and `Vec` for Serde" documentation = "https://docs.rs/serde_bytes" readme = "README.md" keywords = [ "serde", "serialization", "no_std", "bytes", ] categories = [ "encoding", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://github.com/serde-rs/bytes" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "serde_bytes" path = "src/lib.rs" doc-scrape-examples = false [[test]] name = "test_derive" path = "tests/test_derive.rs" [[test]] name = "test_partialeq" path = "tests/test_partialeq.rs" [[test]] name = "test_serde" path = "tests/test_serde.rs" [dependencies.serde] version = "1.0.166" default-features = false [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.serde_derive] version = "1.0.166" [dev-dependencies.serde_test] version = "1.0.166" [features] alloc = ["serde/alloc"] default = ["std"] std = ["serde/std"]