Skip to main content

alloy_provider/layers/
mod.rs

1//! Useful layer implementations for the provider.
2
3#[cfg(any(test, feature = "anvil-node"))]
4mod anvil;
5#[cfg(any(test, feature = "anvil-node"))]
6pub use anvil::{AnvilLayer, AnvilProvider};
7
8mod batch;
9pub use batch::{CallBatchLayer, CallBatchProvider};
10
11mod block_id;
12pub use block_id::{BlockIdLayer, BlockIdProvider};
13
14mod chain;
15pub use chain::ChainLayer;
16
17#[cfg(not(target_family = "wasm"))]
18mod cache;
19#[cfg(not(target_family = "wasm"))]
20pub use cache::{CacheLayer, CacheProvider, SharedCache};