# 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-human-bytes" version = "0.1.1" authors = [ "David Tolnay ", "Kevin Wang", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Optimized handling of `&[u8]` and `Vec` for Serde" documentation = "https://docs.rs/serde-human-bytes" readme = "README.md" keywords = [ "serde", "serialization", "no_std", "bytes", ] categories = [ "encoding", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/kvinwang/serde-human-bytes" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "serde_human_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.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.serde] version = "1.0.166" features = ["alloc"] 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] default = ["std"] std = ["serde/std"]