Skip to main content

Crate canic_memory

Crate canic_memory 

Source
Expand description

Core stable-memory utilities shared across Canic consumers.

This crate temporarily hosts the shared memory manager, eager TLS runtime, and registry backend while Canic memory ownership moves into canic-core and durable allocation-governance mechanics move into ic-memory.

Re-exports§

pub use ::canic_cdk as cdk;

Modules§

api
Supported high-level API for bootstrapping, registering, and inspecting stable-memory slots.
registry
Stable-memory range and ID registry used by the public API and macros.
serialize
serde_cbor-powered serialization helpers ensuring deterministic codecs across canisters. Provides a thin wrapper with shared error handling for CBOR round-trips in stable structures.

Macros§

impl_storable_bounded
Implement Storable with a bounded size guarantee.
impl_storable_unbounded
Implement Storable without a size bound.