Cargo Features
[dependencies]
indexmap = { version = "2.1.0", default-features = false, features = ["std", "test_debug", "quickcheck", "serde", "rayon", "rustc-rayon", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneverindexmap
is added without
somewhere in the dependency tree.default-features = false - std default
-
Affects
map::IndexMap
,set::IndexSet
… - test_debug
-
for testing only, of course
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
- quickcheck implicit feature
- serde implicit feature
-
Affects
map::serde_seq
… - rayon implicit feature
- rustc-rayon implicit feature
-
- arbitrary implicit feature