blob: 3ff3dd987c6b394bfa13d7be836cc05808fbe579 [file] [log] [blame]
# 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.68"
name = "serde_bytes"
version = "0.11.17"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimized handling of `&[u8]` and `Vec<u8>` 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",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
]
targets = ["x86_64-unknown-linux-gnu"]
[features]
alloc = ["serde/alloc"]
default = ["std"]
std = ["serde/std"]
[lib]
name = "serde_bytes"
path = "src/lib.rs"
[[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 = "2"
features = ["serde"]
[dev-dependencies.serde_derive]
version = "1.0.166"
[dev-dependencies.serde_test]
version = "1.0.166"