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
//! Tendermint Key Management System

#![forbid(unsafe_code)]
#![deny(warnings, rust_2018_idioms, missing_docs, unused_qualifications)]
#![doc(html_root_url = "https://docs.rs/tmkms/0.7.2")]

#[cfg(not(any(feature = "softsign", feature = "yubihsm", feature = "ledgertm")))]
compile_error!(
    "please enable one of the following backends with cargo's --features argument: \
     yubihsm, ledgertm, softsign (e.g. --features=yubihsm)"
);

pub mod application;
pub mod chain;
pub mod client;
pub mod commands;
pub mod config;
pub mod connection;
pub mod error;
pub mod keyring;
pub mod prelude;
pub mod rpc;
pub mod session;
#[cfg(feature = "yubihsm")]
pub mod yubihsm;

pub use crate::application::KmsApplication;