Cargo Features
Bumpalo has no features set by default.
[dependencies]
bumpalo = { version = "3.19.0", features = ["std", "collections", "boxed", "allocator_api", "serde", "bench_allocator_api", "allocator-api2"] }
- std
- collections
-
Affects
bumpalo::collections
… - boxed
-
Affects
bumpalo::boxed
… - allocator_api bench_allocator_api?
- serde
-
Enables serde
This dependency is here to allow integration with Serde, if the
serde
feature is enabled - bench_allocator_api dev = allocator_api
-
Feature for bumpalo's internal development only. Do not use!
Enables nightly of blink-alloc
Features from optional dependencies
- allocator-api2 implicit feature
-
Enables allocator-api2 ^0.2.8
This dependency provides a version of the unstable nightly Rust
Allocator
trait on stable Rust. Enabling this feature means thatbumpalo
will implement itsAllocator
trait.