Registry / utility / indexmap

indexmap

JSON →
library2.14.0rscratesunverified

A hash table that preserves insertion order and allows fast iteration.

# Cargo.toml [dependencies] indexmap = "2.14.0"
INSTALL
IMPORT
SIG · INDEXMAP
I
indexmap
utilityrustv2.14.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IndexMap
use indexmap::IndexMap;

Create and iterate over an ordered hash map.

use indexmap::IndexMap; fn main() { let mut map = IndexMap::new(); map.insert("a", 1); map.insert("b", 2); for (key, val) in &map { println!("{}: {}", key, val); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.14.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
indexmap — cargo add indexmap · libregistry