#table #table-id #array #array-map #id

no-std idmap

Efficient maps of integer id keys to values, backed by an underlying Vec

33 releases

0.3.5 Dec 29, 2025
0.3.2 Nov 28, 2025
0.3.0-alpha.2 Jul 27, 2025
0.2.21 Sep 6, 2021
0.2.3 Oct 29, 2017

#346 in Data structures

Download history 256/week @ 2026-01-21 221/week @ 2026-01-28 289/week @ 2026-02-04 224/week @ 2026-02-11 183/week @ 2026-02-18 262/week @ 2026-02-25 251/week @ 2026-03-04 350/week @ 2026-03-11 329/week @ 2026-03-18 421/week @ 2026-03-25 248/week @ 2026-04-01 454/week @ 2026-04-08 359/week @ 2026-04-15 384/week @ 2026-04-22 280/week @ 2026-04-29 293/week @ 2026-05-06

1,361 downloads per month
Used in intid

MIT/Apache

125KB
2.5K SLoC

idmap.rs

Efficient maps of integer id keys to values.

A DirectIdMap is a strongly typed wrapper around a Vec<Option<V>> lookup table, and the DirectIdSet is a similar wrapper around a bitset.

Part of the intid.rs set of crates.

Dependencies

~79–700KB
~11K SLoC