ic-storage 0.78.4

Named stable-memory allocations and governed upstream stable collections
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Upstream memory contract and Platform-backed canister storage.
#[cfg(target_arch = "wasm32")]
mod wasm;

pub use crate::substrate::{Memory, VectorMemory};

#[cfg(target_arch = "wasm32")]
pub use wasm::DefaultMemoryImpl;

/// Native default backing for fixture and host integration.
#[cfg(not(target_arch = "wasm32"))]
pub type DefaultMemoryImpl = VectorMemory;