runtime_context/lib.rs
1//! Runtime context for storing heterogeneous values by type.
2//!
3//! This crate provides a lightweight type map with support for owned values and
4//! borrowed (immutable or mutable) references. It is built on top of
5//! [`better_any`](https://crates.io/crates/better_any) and uses an optimized
6//! `TypeId` hasher for fast lookups.
7
8mod context;
9mod data;
10mod hasher;
11
12pub use better_any::tid;
13pub use context::*;
14pub use data::*;
15pub use hasher::*;