Cargo Features
[dependencies]
linked_list_allocator = { version = "0.10.5", default-features = false, features = ["use_spin", "use_spin_nightly", "alloc_ref", "const_mut_refs"] }
- default = use_spin
-
The
use_spin
feature is set by default wheneverlinked_list_allocator
is added without
somewhere in the dependency tree.default-features = false - use_spin default use_spin_nightly? = spinning_top
-
Affects
linked_list_allocator::LockedHeap
… - use_spin_nightly = use_spin
-
deprecated - use
use_spin
instead - alloc_ref
- const_mut_refs
-
deprecated - no effect
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.
- spinning_top use_spin
-
Enables spinning_top ^0.2.5