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 whenever buddy_system_allocator is added without default-features = false somewhere in the dependency tree.

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.

spin use_spin