[package]
name = "static-alloc"
version = "0.2.5"
description = "A bump allocator on static memory for the alloc-traits crate"
authors = ["Andreas Molzer <andreas.molzer@gmx.de>"]
edition = "2018"
license = "MIT OR Apache-2.0 OR Zlib"
documentation = "https://docs.rs/static-alloc"
repository = "https://github.com/HeroicKatora/static-alloc"
readme = "Readme.md"
categories = ["embedded", "memory-management", "no-std"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
alloc-traits = { path = "../alloc-traits", version = "0.1.0" }
atomic-polyfill = { version = "1", optional = true }
[features]
alloc = []
nightly_try_reserve = []
nightly_chain = ["alloc"]
polyfill = ["atomic-polyfill"]
[[test]]
name = "vec"
path = "tests/vec.rs"
[[test]]
name = "vec_try"
path = "tests/vec_try.rs"
required-features = ["nightly_try_reserve"]
[[test]]
name = "huuuuuge"
path = "tests/alloc/huuuuuge.rs"
required-features = ["DISABLED"]
[[test]]
name = "unsync"
path = "tests/unsync.rs"
[[test]]
name = "chain"
path = "tests/chain.rs"
required-features = ["nightly_chain"]