ntex-bytes 1.5.0

Types and traits for working with bytes (bytes crate fork)
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "ntex-bytes"
version = "1.5.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types and traits for working with bytes (bytes crate fork)"
documentation = "https://docs.rs/ntex-bytes"
readme = "README.md"
keywords = [
    "buffers",
    "zero-copy",
    "io",
]
categories = [
    "network-programming",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex"
resolver = "2"

[features]
default = []
simd = ["simdutf8"]

[lib]
name = "ntex_bytes"
path = "src/lib.rs"

[[test]]
name = "test_buf"
path = "tests/test_buf.rs"

[[test]]
name = "test_buf_mut"
path = "tests/test_buf_mut.rs"

[[test]]
name = "test_bytes"
path = "tests/test_bytes.rs"

[[test]]
name = "test_bytes_stress"
path = "tests/test_bytes_stress.rs"

[[test]]
name = "test_debug"
path = "tests/test_debug.rs"

[[test]]
name = "test_iter"
path = "tests/test_iter.rs"

[[test]]
name = "test_serde"
path = "tests/test_serde.rs"

[[bench]]
name = "buf"
path = "benches/buf.rs"

[[bench]]
name = "bytes"
path = "benches/bytes.rs"

[dependencies.bytes]
version = "1.11.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.simdutf8]
version = "0.1.5"
optional = true

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.serde_test]
version = "1.0"

[lints.rust]
missing_debug_implementations = "deny"
rust_2018_idioms = "deny"
unreachable_pub = "deny"
warnings = "deny"

[lints.rust.async_fn_in_trait]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = -2
check-cfg = ["cfg(docsrs_dep)"]