Cargo Features

static-alloc has no features set by default.

[dependencies]
static-alloc = { version = "0.2.5", features = ["alloc", "nightly_try_reserve", "nightly_chain", "polyfill"] }
alloc nightly_chain?
nightly_try_reserve

For apis depending on "try_reserve" (#48043).
Currently only used in a test for ensure future opportunities.

nightly_chain = alloc

Enables the unsync::Chain module. Note that this is explicitly outside the SemVer stability guarantees!

polyfill = atomic-polyfill

Enables the use of the atomic-polyfill crate to support targets without native atomic CAS operations

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

atomic-polyfill polyfill?