Cargo Features
[dependencies]
indexmap = { version = "2.6.0", default-features = false, features = ["std", "test_debug", "quickcheck", "serde", "borsh", "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
- 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
… - borsh implicit feature
-
Enables borsh
borsh:
Binary Object Representation Serializer for Hashing
- rayon implicit feature
-
Enables rayon
rayon:
Simple work-stealing parallelism for Rust
- rustc-rayon implicit feature
-
Enables rustc-rayon
Internal feature, only used when building as part of rustc,
not part of the stable interface of this crate. - arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data