radix_transactions/
lib.rs

1pub mod builder;
2pub mod data;
3pub mod errors;
4pub mod manifest;
5pub mod model;
6pub mod signing;
7pub mod validation;
8
9/// Each module should have its own prelude, which:
10/// * Adds preludes of upstream crates
11/// * Exports types with specific-enough names which mean they can safely be used downstream.
12///
13/// The idea is that we can just include the current crate's prelude and avoid messing around with tons of includes.
14/// This makes refactors easier, and makes integration into the node less painful.
15pub mod prelude {
16    // Exports from this crate
17    pub use crate::builder::*;
18    pub use crate::model::*;
19    pub use crate::signing::{PrivateKey, Signer};
20}
21
22// Extra things which this crate wants which upstream crates likely don't
23pub(crate) mod internal_prelude {
24    pub use radix_common::prelude::*;
25    pub use radix_engine_interface::prelude::*;
26
27    pub use crate::prelude::*;
28
29    pub use crate::define_raw_transaction_payload;
30    pub use crate::errors::*;
31    pub use crate::manifest::*;
32    pub use crate::validation::*;
33}