foundry_common/lib.rs
1//! # foundry-common
2//!
3//! Common utilities for building and using foundry's tools.
4
5#![cfg_attr(not(test), warn(unused_crate_dependencies))]
6#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
7
8#[expect(unused_extern_crates)] // Used by `ConsoleFmt`.
9extern crate self as foundry_common;
10
11#[macro_use]
12extern crate tracing;
13
14#[macro_use]
15pub mod io;
16
17pub use foundry_common_fmt as fmt;
18
19pub mod abi;
20pub mod calc;
21pub mod compile;
22pub mod constants;
23pub mod contracts;
24pub mod ens;
25pub mod errors;
26pub mod evm;
27pub mod fs;
28pub mod provider;
29pub mod reports;
30pub mod retry;
31pub mod selectors;
32pub mod serde_helpers;
33pub mod term;
34pub mod traits;
35pub mod transactions;
36mod utils;
37pub mod version;
38
39pub use constants::*;
40pub use contracts::*;
41pub use io::{shell, stdin, Shell};
42pub use traits::*;
43pub use transactions::*;
44pub use utils::*;