canic_memory/lib.rs
1//! Core stable-memory utilities shared across Canic consumers.
2//!
3//! This crate hosts the shared memory manager, eager TLS helpers, registry
4//! (ID/range reservation), and ergonomics macros (`ic_memory!`, `ic_memory_range!`,
5//! `eager_static!`) so external crates can coordinate stable memory without
6//! depending on the full `canic` stack.
7
8pub mod api;
9pub mod macros;
10#[doc(hidden)]
11pub mod manager;
12pub mod registry;
13#[doc(hidden)]
14pub mod runtime;
15pub mod serialize;
16
17pub use ::canic_cdk as cdk;
18
19// internal derive support
20#[doc(hidden)]
21pub use thiserror::Error as ThisError;
22
23// re-exports
24#[doc(hidden)]
25pub mod __reexports {
26 pub use ctor;
27}