Cargo Features
[dependencies]
indexmap = { version = "2.11.4", default-features = false, features = ["std", "serde", "test_debug", "quickcheck", "rayon", "sval", "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
… - serde
-
Enables serde and serde_core
Affects
map::serde_seq
… - test_debug
-
for testing only, of course
Features from optional dependencies
- quickcheck implicit feature
-
Enables quickcheck
quickcheck:
Automatic property based testing with shrinking
- rayon implicit feature
-
Enables rayon
rayon:
Simple work-stealing parallelism for Rust
- sval implicit feature
-
Enables sval
sval:
Streaming, structured value serialization
- 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