cuprate_txpool/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#![doc = include_str!("../README.md")]
#![allow(
    // See `cuprate-database` for reasoning.
    clippy::significant_drop_tightening
)]

// Used in docs: <https://github.com/Cuprate/cuprate/pull/170#discussion_r1823644357>.
use tower as _;

pub mod config;
mod free;
pub mod ops;
pub mod service;
pub mod tables;
mod tx;
pub mod types;

pub use config::Config;
pub use free::{open, transaction_blob_hash};
pub use tx::TxEntry;

//re-exports
pub use cuprate_database;

#[cfg(test)]
mod test {
    use cuprate_test_utils as _;
    use hex_literal as _;
    use tempfile as _;
    use tokio as _;
}