1#![deny(unsafe_code, unsafe_op_in_unsafe_fn)]
2#![deny(rustdoc::broken_intra_doc_links)]
3#![doc = include_str!("../README.md")]
4
5mod hash;
6mod key;
7mod memory;
8mod runtime;
9mod stable_cell;
10pub mod storable;
11
12pub const WASM_PAGE_SIZE_BYTES: u64 = 65_536;
14pub use key::{StableKey, StableKeyError};
15pub use memory::{DefaultMemoryImpl, Memory, VectorMemory};
16pub use runtime::*;
17pub use stable_cell::{
18 STABLE_CELL_HEADER_SIZE, StableCellPayloadError, stable_cell_payload_length,
19};
20pub mod adapter;
22#[cfg(any(test, feature = "test-support"))]
23pub mod testing;