2024-08-22 01:09:07 +00:00
|
|
|
#![doc = include_str!("../README.md")]
|
2024-09-02 17:12:54 +00:00
|
|
|
#![allow(
|
|
|
|
// See `cuprate-database` for reasoning.
|
|
|
|
clippy::significant_drop_tightening
|
|
|
|
)]
|
2024-06-05 14:35:08 +00:00
|
|
|
|
2024-11-01 20:22:14 +00:00
|
|
|
// Used in docs: <https://github.com/Cuprate/cuprate/pull/170#discussion_r1823644357>.
|
|
|
|
use tower as _;
|
|
|
|
|
2024-08-22 01:09:07 +00:00
|
|
|
pub mod config;
|
|
|
|
mod free;
|
|
|
|
pub mod ops;
|
|
|
|
pub mod service;
|
|
|
|
pub mod tables;
|
2024-10-08 21:57:09 +00:00
|
|
|
mod tx;
|
2024-08-22 01:09:07 +00:00
|
|
|
pub mod types;
|
|
|
|
|
|
|
|
pub use config::Config;
|
2024-10-29 15:30:51 +00:00
|
|
|
pub use free::{open, transaction_blob_hash};
|
2024-10-08 21:57:09 +00:00
|
|
|
pub use tx::TxEntry;
|
2024-08-22 01:09:07 +00:00
|
|
|
|
|
|
|
//re-exports
|
|
|
|
pub use cuprate_database;
|
2024-09-02 17:12:54 +00:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod test {
|
|
|
|
use cuprate_test_utils as _;
|
|
|
|
use hex_literal as _;
|
|
|
|
use tempfile as _;
|
|
|
|
use tokio as _;
|
|
|
|
}
|