pub(crate) mod ledger;
mod manager;
mod policy;
pub mod registry;
pub mod runtime;
pub use crate::{eager_init, eager_static, ic_memory_key, ic_memory_range};
pub const CANIC_CORE_MEMORY_AUTHORITY: &str = "canic-core";
pub const CANIC_CONTROL_PLANE_MEMORY_AUTHORITY: &str = "canic-control-plane";
pub(crate) fn bootstrap_default_memory_manager()
-> Result<(), ic_memory::RuntimeBootstrapError<registry::MemoryRegistryError>> {
ic_memory::bootstrap_default_memory_manager_with_policy(&policy::CanicMemoryManagerPolicy::new())
.map(|_| ())
}