canic_core/cdk/structures.rs
1//! Module: cdk::structures
2//!
3//! Responsibility: re-export stable-structure types used by Canic storage code.
4//! Does not own: schema definitions, memory allocation policy, or migrations.
5//! Boundary: keeps external stable-structure imports behind the Canic CDK facade.
6
7pub mod memory {
8 pub use ic_memory::stable_structures::memory_manager::*;
9}
10
11pub use ic_memory::stable_structures::{
12 BTreeSet, Cell, DefaultMemoryImpl, FileMemory, Log, Memory, MinHeap, StableBTreeSet,
13 StableCell, StableLog, StableMinHeap, StableVec, Storable, Vec, VectorMemory, btreeset, cell,
14 file_mem, log, min_heap, reader, storable, vec, vec_mem, writer,
15};