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

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