Cargo Features
[dependencies]
allocator-api2 = { version = "0.2.20", default-features = false, features = ["std", "alloc", "fresh-rust", "serde"] }
- default = std
-
The
std
feature is set by default wheneverallocator-api2
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Affects
stable::boxed
,stable::vec
,stable::collections
… - nightly fresh-rust