ic_sqlite_vfs/lib.rs
1//! IC canister crate root for the `icstable` SQLite VFS.
2//!
3//! The database image is stored directly in IC stable memory. SQLite reaches it
4//! only through `sqlite3_vfs` callbacks, so no POSIX or WASI filesystem is used.
5
6#[cfg(feature = "canister-api")]
7pub mod api;
8pub mod config;
9pub mod db;
10#[doc(hidden)]
11pub mod sqlite_vfs;
12#[doc(hidden)]
13pub mod stable;
14
15pub use db::{Db, DbError};
16
17#[cfg(feature = "canister-api")]
18use api::{ChecksumRefresh, DbMeta};
19
20#[cfg(feature = "canister-api")]
21ic_cdk::export_candid!();