mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-27 04:45:57 +00:00
eead49beb0
* cargo.toml: transfer existing lints * rpc/interface: lints * rpc/json-rpc: lints * rpc/types: lints * storage/blockchain: lints * rpc/types: fix lints * cargo.toml: fix lint group priority * storage/blockchain: fix lints * fix misc lints * storage/database: fixes * storage/txpool: opt in lints + fixes * types: opt in + fixes * helper: opt in + fixes * types: remove borsh * rpc/interface: fix test * test fixes * database: fix lints * fix lint * tabs -> spaces * blockchain: `config/` -> `config.rs`
29 lines
510 B
Rust
29 lines
510 B
Rust
#![doc = include_str!("../README.md")]
|
|
#![allow(
|
|
// See `cuprate-database` for reasoning.
|
|
clippy::significant_drop_tightening
|
|
)]
|
|
|
|
pub mod config;
|
|
mod free;
|
|
pub mod ops;
|
|
#[cfg(feature = "service")]
|
|
pub mod service;
|
|
pub mod tables;
|
|
pub mod types;
|
|
|
|
pub use config::Config;
|
|
pub use free::open;
|
|
|
|
//re-exports
|
|
pub use cuprate_database;
|
|
|
|
// TODO: remove when used.
|
|
use tower as _;
|
|
#[cfg(test)]
|
|
mod test {
|
|
use cuprate_test_utils as _;
|
|
use hex_literal as _;
|
|
use tempfile as _;
|
|
use tokio as _;
|
|
}
|