Cargo Features
[dependencies]
radix-rust = { version = "1.2.0", default-features = false, features = ["std", "alloc", "serde", "fuzzing"] }
- default = std
-
The
std
feature is set by default wheneverradix-rust
is added without
somewhere in the dependency tree.default-features = false - std default
- alloc = hashbrown
-
Affects
rust::hash_map.DefaultHashBuilder
,rust::hash_set.DefaultHashBuilder
,rust::index_map.DefaultHashBuilder
,rust::index_set.DefaultHashBuilder
,rust::non_iter_map.DefaultHashBuilder
,rust::non_iter_map.Entry
… - serde
- fuzzing
-
This flag is set by fuzz-tests framework and it enables StubHasher (instead of RandomHasher) for Map and Set structs to prevent non-determinism when fuzzing.
Affects
rust::collections.stub_hasher
,rust::hash_map.DefaultHashBuilder
,rust::hash_set.DefaultHashBuilder
,rust::index_map.DefaultHashBuilder
,rust::index_set.DefaultHashBuilder
,rust::non_iter_map.DefaultHashBuilder
…
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.13.2