foundry_common/
lib.rs

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
32
33
34
35
36
37
38
39
40
41
42
43
//! # foundry-common
//!
//! Common utilities for building and using foundry's tools.

#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]

#[allow(unused_extern_crates)] // Used by `ConsoleFmt`.
extern crate self as foundry_common;

#[macro_use]
extern crate tracing;

#[macro_use]
pub mod io;

pub use foundry_common_fmt as fmt;

pub mod abi;
pub mod calc;
pub mod compile;
pub mod constants;
pub mod contracts;
pub mod ens;
pub mod errors;
pub mod evm;
pub mod fs;
pub mod provider;
pub mod reports;
pub mod retry;
pub mod selectors;
pub mod serde_helpers;
pub mod term;
pub mod traits;
pub mod transactions;
mod utils;

pub use constants::*;
pub use contracts::*;
pub use io::{shell, stdin, Shell};
pub use traits::*;
pub use transactions::*;
pub use utils::*;