alloy_provider/layers/
mod.rs

1//! Useful layer implementations for the provider. Currently this
2//! module contains the `AnvilLayer`, `AnvilProvider` and `ChainLayer`
3//! types.
4
5#[cfg(any(test, feature = "anvil-node"))]
6mod anvil;
7#[cfg(any(test, feature = "anvil-node"))]
8pub use anvil::{AnvilLayer, AnvilProvider};
9
10mod chain;
11pub use chain::ChainLayer;
12
13#[cfg(not(target_arch = "wasm32"))]
14mod mock;
15#[cfg(not(target_arch = "wasm32"))]
16pub use mock::{Asserter, MockError, MockLayer, MockProvider, MockResponse};
17
18#[cfg(not(target_arch = "wasm32"))]
19mod cache;
20#[cfg(not(target_arch = "wasm32"))]
21pub use cache::{CacheLayer, CacheProvider, SharedCache};