Skip to main content

Crate quark

Crate quark 

Source
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 T references.

Traits§

Registrable
Trait for types that can be stored in a Registry.