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
#![deny(unused_extern_crates)]
#![warn(
    missing_debug_implementations,
    missing_docs,
    rust_2018_idioms,
    unreachable_pub
)]

//! Structs representing the various data types used by Iota

#[macro_use]
extern crate failure;

pub use self::bundle::*;
pub use self::input::*;
pub use self::inputs::*;
pub use self::neighbor::*;
pub use self::signature::*;
pub use self::transaction::*;
pub use self::transfer::*;

mod bundle;
mod input;
mod inputs;
mod neighbor;
mod signature;
mod transaction;
mod transfer;
mod trit_adder;

type Result<T> = ::std::result::Result<T, failure::Error>;