Cargo Features
[dependencies]
indexmap = { version = "2.9.0", default-features = false, features = ["std", "test_debug", "quickcheck", "serde", "rayon", "borsh", "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
- quickcheck implicit feature
-
Enables quickcheck
quickcheck:
Automatic property based testing with shrinking
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
Affects
map::serde_seq
… - rayon implicit feature
-
Enables rayon
rayon:
Simple work-stealing parallelism for Rust
- borsh implicit feature
-
Enables borsh
deprecated: use borsh's "indexmap" feature instead.
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data