Cargo Features
[dependencies]
allocator-api2 = { version = "0.2.18", default-features = false, features = ["std", "alloc", "nightly", "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
… - nightly