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))]
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 comments;
22pub mod compile;
23pub mod constants;
24pub mod contracts;
25pub mod errors;
26pub mod fs;
27pub mod iter;
28pub mod mapping_slots;
29mod preprocessor;
30pub mod provider;
31pub mod retry;
32pub mod selectors;
33pub mod serde_helpers;
34pub mod slot_identifier;
35pub mod term;
36pub mod traits;
37pub mod transactions;
38mod utils;
39pub mod version;
40
41pub use constants::*;
42pub use contracts::*;
43pub use io::{Shell, shell, stdin};
44pub use traits::*;
45pub use transactions::*;
46pub use utils::*;