Cargo Features
[dependencies]
allocator-api2 = { version = "0.3.0", 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
allocator-api2::boxed
,allocator-api2::vec
,allocator-api2::collections
… - fresh-rust