revm_inspector/
lib.rs

1//! Inspector is a crate that provides a set of traits that allow inspecting the EVM execution.
2//!
3//! It is used to implement tracers that can be used to inspect the EVM execution.
4//! Implementing inspection is optional and it does not effect the core execution.
5#![cfg_attr(not(test), warn(unused_crate_dependencies))]
6#![cfg_attr(not(feature = "std"), no_std)]
7
8#[cfg(all(feature = "std", feature = "serde-json"))]
9mod eip3155;
10mod either;
11mod gas;
12/// Handler implementations for inspector integration.
13pub mod handler;
14mod inspect;
15mod inspector;
16mod mainnet_inspect;
17mod noop;
18mod traits;
19
20/// Inspector implementations.
21pub mod inspectors {
22    #[cfg(all(feature = "std", feature = "serde-json"))]
23    pub use super::eip3155::TracerEip3155;
24    pub use super::gas::GasInspector;
25}
26
27pub use handler::{inspect_instructions, InspectorHandler};
28pub use inspect::{InspectCommitEvm, InspectEvm};
29pub use inspector::*;
30pub use noop::NoOpInspector;
31pub use traits::*;