Cargo Features

[dependencies]
buddy_system_allocator = { version = "0.11.0", default-features = false, features = ["alloc", "use_spin"] }
default = alloc, use_spin

These default features are set whenever buddy_system_allocator is added without default-features = false somewhere in the dependency tree.

alloc default
use_spin default = spin

Affects frame::LockedFrameAllocator, buddy_system_allocator::LockedHeap, buddy_system_allocator::LockedHeapWithRescue

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.

spin use_spin