bytesreader 0.0.1

A growable buffered reader backed by the bytes crate
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"
name = "bytesreader"
version = "0.0.1"
authors = ["Yun Peng <pengyun.me@outlook.com>"]
build = false
exclude = [
    "/AGENTS.md",
    "/.github/",
    "/.gitignore",
    "/rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A growable buffered reader backed by the bytes crate"
readme = "README.md"
keywords = [
    "io",
    "buffer",
    "reader",
    "bytes",
    "zero-copy",
]
categories = ["parsing"]
license = "MIT"
repository = "https://github.com/WangLabCSU/bytesreader"

[features]
hotpath = ["hotpath/hotpath"]
hotpath-alloc = [
    "hotpath",
    "hotpath/hotpath-alloc",
]
nightly = []

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

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

[[bench]]
name = "methods"
path = "benches/methods.rs"
harness = false

[[bench]]
name = "reading"
path = "benches/reading.rs"
harness = false

[dependencies.bytes]
version = "1.12.*"

[dependencies.hotpath]
version = "0.30.*"

[dev-dependencies.memchr]
version = "2.8"

[profile.profiling]
debug = 2
inherits = "release"
strip = false

[profile.release]
lto = true
codegen-units = 1
strip = "debuginfo"