[package]
edition = "2024"
rust-version = "1.89"
name = "borrowed-buf"
version = "0.1.1"
authors = ["Mikhail Panfilov <mikhail@panfilov.tech>"]
build = false
include = [
"src/**/*.rs",
"tests/**/*.rs",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small, fast, no_std alternative to the nightly-only core::io::BorrowedBuf"
homepage = "https://github.com/M-Compressors/borrowed-buf"
documentation = "https://docs.rs/borrowed-buf"
readme = "README.md"
keywords = [
"buffer",
"uninit",
"maybeuninit",
"io",
"no_std",
]
categories = [
"no-std",
"no-std::no-alloc",
"memory-management",
"rust-patterns",
]
license = "MIT"
repository = "https://github.com/M-Compressors/borrowed-buf"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
std = []
[lib]
name = "borrowed_buf"
path = "src/lib.rs"
[[test]]
name = "buf"
path = "tests/buf.rs"
[[test]]
name = "generic"
path = "tests/generic.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[dependencies]