Files
bytes/Cargo.toml
T

47 lines
1.4 KiB
TOML
Raw Normal View History

2015-01-30 00:04:33 -08:00
[package]
2019-11-25 11:19:30 -08:00
name = "bytes"
2018-09-04 13:31:26 -07:00
# When releasing to crates.io:
# - Update CHANGELOG.md.
2021-08-25 17:48:41 +02:00
# - Create "v1.x.y" git tag.
2026-07-08 12:00:46 +02:00
version = "1.12.1"
2025-07-16 10:33:07 +02:00
edition = "2021"
rust-version = "1.57"
2019-11-25 11:19:30 -08:00
license = "MIT"
2019-12-12 11:53:36 -08:00
authors = [
"Carl Lerche <[email protected]>",
"Sean McArthur <[email protected]>",
]
2019-11-25 11:19:30 -08:00
description = "Types and traits for working with bytes"
repository = "https://github.com/tokio-rs/bytes"
readme = "README.md"
keywords = ["buffers", "zero-copy", "io"]
2017-02-24 10:35:53 -08:00
categories = ["network-programming", "data-structures"]
include = ["CHANGELOG.md", "LICENSE", "README.md", "SECURITY.md", "Cargo.toml", "src/**/*.rs", "tests/**/*.rs", "clippy.toml"]
[features]
default = ["std"]
std = []
2016-07-20 13:27:41 +02:00
[dependencies]
2020-05-25 01:41:45 +09:00
serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] }
# Use portable-atomic crate to support platforms without atomic CAS.
# See "no_std support" section in readme for more information.
#
# Enable require-cas feature to provide a better error message if the end user forgets to use the cfg or feature.
extra-platforms = { package = "portable-atomic", version = "1.3", optional = true, default-features = false, features = ["require-cas"] }
[dev-dependencies]
serde_test = "1.0"
2020-01-23 10:10:15 -08:00
2020-07-13 16:55:47 -07:00
[target.'cfg(loom)'.dev-dependencies]
2024-01-08 01:10:48 +09:00
loom = "0.7"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(loom)',
] }