static-alloc 0.3.2

A bump allocator on static memory for the alloc-traits crate
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "static-alloc"
version = "0.3.2"
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 = "allocator-api2"
path = "tests/allocator-api2.rs"
required-features = ["allocator-api2"]

[[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.allocator-api2]
version = "0.4"
optional = true
default-features = false

[dependencies.portable-atomic]
version = "1"
optional = true
default-features = false

[dev-dependencies.allocator-api2]
version = "0.4"
features = ["std"]