1#![warn(
4 missing_copy_implementations,
5 missing_debug_implementations,
6 missing_docs,
7 unreachable_pub,
8 clippy::missing_const_for_fn,
9 rustdoc::all
10)]
11#![deny(unused_must_use, rust_2018_idioms)]
12#![cfg_attr(not(test), warn(unused_crate_dependencies))]
13#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
14
15pub mod common;
17
18pub mod errors;
20
21pub mod transports;
23
24pub use {
25 common::{APDUAnswer, APDUCommand},
26 errors::LedgerError,
27 transports::Ledger,
28};
29
30mod protocol;
31pub use protocol::LedgerProtocol;