Skip to content

Commit

Permalink
update re exports
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierdmello committed Jul 6, 2024
1 parent da031d9 commit d3eafe3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod client;
pub mod client;
pub use self::{Client, ClientBuilder};
pub use crate::client::*;

pub mod errors;

#[cfg(not(target_arch = "wasm32"))]
Expand Down
12 changes: 12 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,34 @@ pub mod config {
}

pub mod types {
pub use common::config::types::*;
pub use common::consensus::types::*;
pub use common::crypto::types::*;
pub use common::execution::types::*;
pub use common::types::{Block, BlockTag, Transactions};
pub use execution::types::{Account, CallOpts};
}

pub mod client {
pub use consensus::database::*;
}

pub mod prelude {
pub use crate::client::*;
pub use crate::common::*;
pub use crate::config::*;
pub use crate::errors::*;
pub use crate::types::*;
}

pub mod errors {
pub use common::consensus::errors::*;
pub use common::errors::*;
pub use execution::errors::*;
}

pub mod constants {
pub use common::crypto::consts::*;
pub use common::execution::constants::*;
}

Expand Down

0 comments on commit d3eafe3

Please sign in to comment.