[package]
edition = "2024"
rust-version = "1.85"
name = "static-alloc"
version = "0.3.1"
authors = ["Aurelia Molzer <5550310+197g@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A bump allocator on static memory for the alloc-traits crate"
documentation = "https://docs.rs/static-alloc"
readme = "Readme.md"
categories = [
"embedded",
"memory-management",
"no-std",
]
license = "MIT OR Apache-2.0 OR Zlib"
repository = "https://github.com/197g/static-alloc"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
nightly_chain = ["alloc"]
polyfill = ["portable-atomic"]
[lib]
name = "static_alloc"
path = "src/lib.rs"
[[test]]
name = "alloca"
path = "tests/alloca.rs"
[[test]]
name = "chain"
path = "tests/chain.rs"
required-features = ["nightly_chain"]
[[test]]
name = "leak"
path = "tests/leak.rs"
[[test]]
name = "leak_box"
path = "tests/leak_box.rs"
[[test]]
name = "threaded"
path = "tests/threaded.rs"
[[test]]
name = "unsync"
path = "tests/unsync.rs"
[[test]]
name = "vec"
path = "tests/vec.rs"
[[test]]
name = "vec_try"
path = "tests/vec_try.rs"
required-features = []
[dependencies.alloc-traits]
version = "0.1.0"
[dependencies.portable-atomic]
version = "1"
optional = true
default-features = false