• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14rust-version = "1.68"
15name = "serde_bytes"
16version = "0.11.17"
17authors = ["David Tolnay <dtolnay@gmail.com>"]
18build = false
19autolib = false
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = "Optimized handling of `&[u8]` and `Vec<u8>` for Serde"
25documentation = "https://docs.rs/serde_bytes"
26readme = "README.md"
27keywords = [
28    "serde",
29    "serialization",
30    "no_std",
31    "bytes",
32]
33categories = [
34    "encoding",
35    "no-std",
36    "no-std::no-alloc",
37]
38license = "MIT OR Apache-2.0"
39repository = "https://github.com/serde-rs/bytes"
40
41[package.metadata.docs.rs]
42rustdoc-args = [
43    "--generate-link-to-definition",
44    "--extern-html-root-url=core=https://doc.rust-lang.org",
45    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
46    "--extern-html-root-url=std=https://doc.rust-lang.org",
47]
48targets = ["x86_64-unknown-linux-gnu"]
49
50[features]
51alloc = ["serde/alloc"]
52default = ["std"]
53std = ["serde/std"]
54
55[lib]
56name = "serde_bytes"
57path = "src/lib.rs"
58
59[[test]]
60name = "test_derive"
61path = "tests/test_derive.rs"
62
63[[test]]
64name = "test_partialeq"
65path = "tests/test_partialeq.rs"
66
67[[test]]
68name = "test_serde"
69path = "tests/test_serde.rs"
70
71[dependencies.serde]
72version = "1.0.166"
73default-features = false
74
75[dev-dependencies.bincode]
76version = "2"
77features = ["serde"]
78
79[dev-dependencies.serde_derive]
80version = "1.0.166"
81
82[dev-dependencies.serde_test]
83version = "1.0.166"
84