Expand description
Generic link-time registry infrastructure for Rust.
Provides a generic Registrable trait, Registry<T> struct, and
define_registry! macro for building type-safe, owned registries
backed by inventory link-time collection.
Re-exports§
pub use inventory;
Macros§
- define_
registry - Generates a newtype wrapper around
Registry<T>with standard impls.
Structs§
- Registry
- A generic, owned registry mapping string keys to
&'static Treferences.
Traits§
- Registrable
- Trait for types that can be stored in a
Registry.