//! A global registry for `Persist`-able types, populated at program startup.
//!
//! The `persist` macro generates a `#[ctor]` static constructor for each
//! decorated type. This constructor adds a registration function to the
//! `COMPONENT_REGISTRY`. When the persistence plugin is initialized, it
//! drains this registry, calling each function to set up the necessary
//! systems and serializers for each type.
use App;
use Lazy;
use Mutex;
type RegistrationFn = fn;
pub static COMPONENT_REGISTRY: =
new;