Cargo Features
[dependencies]
storagevec = { version = "0.2.1", default-features = false, features = ["alloc", "stack"] }
- default = alloc
-
The
alloc
feature is set by default wheneverstoragevec
is added without
somewhere in the dependency tree.default-features = false - alloc default = hashbrown
- stack
-
tinyvec:
Provide things that utilize the
alloc
crate, namelyTinyVec
.
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.
- hashbrown alloc
-
Enables hashbrown ^0.8.2