Skip to main content

cdk_sql_common/
lib.rs

1//! SQLite storage backend for cdk
2
3mod common;
4pub mod database;
5mod keyvalue;
6mod macros;
7pub mod pool;
8pub mod stmt;
9pub mod value;
10
11pub use cdk_common::database::ConversionError;
12pub use common::{run_db_operation, run_db_operation_sync};
13
14#[cfg(feature = "mint")]
15pub mod mint;
16#[cfg(feature = "wallet")]
17pub mod wallet;
18
19#[cfg(feature = "mint")]
20pub use mint::SQLMintDatabase;
21#[cfg(feature = "wallet")]
22pub use wallet::SQLWalletDatabase;