Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2
3 name = "bytes"
4 # When releasing to crates.io:
5 # - Update CHANGELOG.md.
6 # - Create "v1.x.y" git tag.
7 version = "1.12.1"
8 edition = "2021"
9 rust-version = "1.57"
10 license = "MIT"
11 authors = [
12 "Carl Lerche <[email protected]>",
13 "Sean McArthur <[email protected]>",
14 ]
15 description = "Types and traits for working with bytes"
16 repository = "https://github.com/tokio-rs/bytes"
17 readme = "README.md"
18 keywords = ["buffers", "zero-copy", "io"]
19 categories = ["network-programming", "data-structures"]
20 include = ["CHANGELOG.md", "LICENSE", "README.md", "SECURITY.md", "Cargo.toml", "src/**/*.rs", "tests/**/*.rs", "clippy.toml"]
21
22 [features]
23 default = ["std"]
24 std = []
25
26 [dependencies]
27 serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] }
28 # Use portable-atomic crate to support platforms without atomic CAS.
29 # See "no_std support" section in readme for more information.
30 #
31 # Enable require-cas feature to provide a better error message if the end user forgets to use the cfg or feature.
32 extra-platforms = { package = "portable-atomic", version = "1.3", optional = true, default-features = false, features = ["require-cas"] }
33
34 [dev-dependencies]
35 serde_test = "1.0"
36
37 [target.'cfg(loom)'.dev-dependencies]
38 loom = "0.7"
39
40 [package.metadata.docs.rs]
41 rustdoc-args = ["--cfg", "docsrs"]
42
43 [lints.rust]
44 unexpected_cfgs = { level = "warn", check-cfg = [
45 'cfg(loom)',
46 ] }