idmap 0.3.6

Efficient maps of integer id keys to values, backed by an underlying `Vec`
Documentation
//! 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](https://github.com/DuckLogic/intid.rs) set of crates.

#![cfg_attr(feature = "nightly", feature(trusted_len))]
#![deny(missing_docs, deprecated_safe_2024)]
#![cfg_attr(not(doc), no_std)]
#![allow(
    // triggers for `impl EquivalentId<...>`
    clippy::needless_pass_by_value
)]

extern crate alloc;

pub mod direct;
pub mod enums;
mod utils;

pub extern crate intid;

pub use self::direct::{DirectIdMap, DirectIdSet};
pub use self::enums::{EnumMap, EnumSet};