[package]
edition = "2021"
rust-version = "1.85"
name = "smallbox"
version = "0.8.9"
authors = ["andylokandy"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "`Small Box` optimization: store small item on stack and fallback to heap for large item."
documentation = "https://andylokandy.github.io/smallbox"
readme = "README.md"
keywords = [
"box",
"alloc",
"dst",
"stack",
"no_std",
]
categories = ["data-structures"]
license = "MIT"
repository = "https://github.com/andylokandy/smallbox"
resolver = "2"
[features]
coerce = []
default = ["std"]
nightly = ["coerce"]
std = []
[lib]
name = "smallbox"
path = "src/lib.rs"
[[bench]]
name = "compare"
path = "benches/compare.rs"
harness = false
[dev-dependencies.divan]
version = "0.1"
[dev-dependencies.futures]
version = "0.3"
features = ["executor"]
default-features = false