Skip to main content

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 external_storage;
27pub mod fs;
28pub mod iter;
29pub mod mapping_slots;
30mod preprocessor;
31pub mod provider;
32pub mod retry;
33pub mod selectors;
34pub mod serde_helpers;
35pub mod slot_identifier;
36pub mod tempo;
37pub mod term;
38pub mod traits;
39pub mod transactions;
40mod utils;
41pub mod version;
42pub mod wallet;
43
44pub use compile::Analysis;
45pub use constants::*;
46pub use contracts::*;
47pub use io::{Shell, shell, stdin};
48pub use traits::*;
49pub use transactions::*;
50pub use utils::*;