[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.rustix]
features = ["fs"]
version = "1"
[[example]]
name = "read"
path = "examples/read.rs"
[features]
alloc = []
default = ["std"]
std = ["alloc"]
[lib]
name = "buffer_trait"
path = "src/lib.rs"
[package]
authors = ["Dan Gohman <dev@sunfishcode.online>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std"]
description = "A `Buffer` trait for reading into uninitialized buffers."
documentation = "https://docs.rs/buffer-trait"
edition = "2024"
keywords = ["api", "no_std"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "buffer-trait"
readme = "README.md"
repository = "https://codeberg.org/sunfishcode/buffer-trait"
rust-version = "1.85"
version = "0.2.2"