# 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.85"
name = "ringo-buff"
version = "0.1.0"
authors = ["Roland Rauch"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ring buffers for bytes, with heap and stack storage."
documentation = "https://docs.rs/ringo-buff"
readme = "README.md"
keywords = [
    "ring-buffer",
    "circular-buffer",
    "bytes",
    "read",
    "buffer",
]
categories = [
    "data-structures",
    "algorithms",
    "network-programming",
    "filesystem",
    "embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rrauch/ringo-buff"

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

[features]
alloc = []
buf-trait = ["dep:bytes"]
default = ["alloc"]
hybrid-array = ["dep:hybrid-array"]
zeroize = [
    "dep:zeroize",
    "hybrid-array?/zeroize",
]

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

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

[dependencies.hybrid-array]
version = "0.4"
optional = true
default-features = false

[dependencies.zeroize]
version = "1"
optional = true
