idmap 0.1.0

Efficient maps of integer id keys to values, backed by an underlying `Vec`
docs.rs failed to build idmap-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: idmap-0.2.21

rust-idmap

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

Features

  • Automiatically derived IntegerId for enums and newtype structs
    • Implemented in the idmap-derive proc_macro crate
  • Maintains insertion order of the entries, as there's an iderection like OrderMap.
    • Therefore, entries which aren't present take little space, as only a u32 needs to be stored.
  • Supports a CompactIdMap which handles indexes offset from the start element.