Cargo Features
[dependencies]
buddy_system_allocator = { version = "0.9.1", default-features = false, features = ["use_spin", "const_fn"] }
- default = use_spin
-
The
use_spin
feature is set by default wheneverbuddy_system_allocator
is added without
somewhere in the dependency tree.default-features = false - use_spin default = spin
-
Affects
frame::LockedFrameAllocator
,buddy_system_allocator::LockedHeap
,buddy_system_allocator::LockedHeapWithRescue
… - const_fn
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.