1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! Stash is a library for efficiently storing maps of keys to values when one
//! doesn't care what the keys are but wants blazing<sup>†</sup> fast `O(1)`
//! insertions, deletions, and lookups.
//!
//! Common use cases include file descriptor tables, session tables, or MIO
//! context tables.
//!
//! <sup>†</sup>Blazing means an order of magnitude faster than hash maps and btree maps.

extern crate unreachable;

#[macro_use]
mod iter_macro;

pub mod index;
pub mod stash;
pub mod unique_stash;

#[doc(inline)]
pub use index::Index;
#[doc(inline)]
pub use stash::Stash;
#[doc(inline)]
pub use unique_stash::{UniqueStash, Tag};