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

std default

Enables std of indexmap

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

Enables serde, serde of indexmap

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.

Enables arbitrary of indexmap

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