whisky_common/lib.rs
1// Self-reference alias to allow proc macros to use ::whisky:: path
2// (proc macros generate code with ::whisky:: paths which work for external crates,
3// and this alias makes them work within whisky-common itself)
4extern crate self as whisky;
5
6pub mod algo;
7pub mod constants;
8pub mod data;
9pub mod errors;
10pub mod interfaces;
11pub mod models;
12pub mod tx_tester;
13pub mod utils;
14pub use algo::*;
15pub use constants::*;
16pub use errors::*;
17pub use interfaces::*;
18pub use models::*;
19pub use tx_tester::*;
20pub use utils::*;
21
22// Re-export Blueprint at root level
23pub use data::blueprint::Blueprint;
24
25// Re-export proc macros
26pub use whisky_macros::impl_constr_type;