Cargo Features
[dependencies]
wee_alloc = { version = "0.4.5", default-features = false, features = ["nightly", "extra_assertions", "size_classes", "static_array_backend", "use_std_for_test_debugging"] }
- default = size_classes
-
The
size_classes
feature is set by default wheneverwee_alloc
is added without
somewhere in the dependency tree.default-features = false - nightly
- extra_assertions
-
Enable extra, expensive integrity allocations.
- size_classes default
-
Enable size classes for amortized *O(1)* small allocations.
- static_array_backend = spin
-
Enable fixed-sized, OS-independent backing memory implementation
- use_std_for_test_debugging
-
This is for internal use only.
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 static_array_backend?
-
Enables spin ^0.5