hoprd_db_api/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Crate for accessing HOPRd database.
//! Functionality defined here is meant to be used mostly by other higher-level crates.

pub mod aliases;
pub mod db;
pub mod errors;

use crate::aliases::HoprdDbAliasesOperations;

/// Convenience trait that contain all HOPR DB operations crates.
pub trait HoprdDbAllOperations: HoprdDbAliasesOperations {}

#[doc(hidden)]
pub mod prelude {
    pub use super::*;
    pub use crate::aliases::*;
}