bufkit 0.6.0

Memory-backed buffer toolkit with Chunk/ChunkMut traits for predictable, explicit, and retry-friendly access; ideal for Sans-I/O style protocol parsers, database engines, and embedded systems.
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 = "2021"
rust-version = "1.83.0"
name = "bufkit"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory-backed buffer toolkit with Chunk/ChunkMut traits for predictable, explicit, and retry-friendly access; ideal for Sans-I/O style protocol parsers, database engines, and embedded systems."
homepage = "https://github.com/al8n/bufkit"
documentation = "https://docs.rs/bufkit"
readme = "README.md"
keywords = [
    "buf",
    "bufmut",
    "bufio",
    "buffer",
    "bytes",
]
categories = [
    "no-std",
    "no-std::no-alloc",
    "network-programming",
    "data-structures",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/al8n/bufkit"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["varing/alloc"]
default = ["std"]
std = [
    "thiserror/default",
    "varing/default",
    "bytes_1?/default",
]

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

[[example]]
name = "chunk_mut"
path = "examples/chunk_mut.rs"

[[example]]
name = "chunk_writer"
path = "examples/chunk_writer.rs"

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

[dependencies.bytes_1]
version = "1"
optional = true
default-features = false
package = "bytes"

[dependencies.paste]
version = "1"

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.varing]
version = "0.13"
default-features = false

[dev-dependencies.criterion]
version = "0.8"

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

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

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
overflow-checks = false
incremental = false