Skip to content

Commit

Permalink
fix: op-alloy-provider (#390)
Browse files Browse the repository at this point in the history
### Description

Adds `op-alloy-provider` back to the `op-alloy` crate.
  • Loading branch information
refcell authored Jan 15, 2025
1 parent f43e6f8 commit 558a3eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/op-alloy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ workspace = true
[dependencies]
# Workspace
op-alloy-consensus = { workspace = true, optional = true }
op-alloy-provider = { workspace = true, optional = true }
op-alloy-network = { workspace = true, optional = true }
op-alloy-rpc-types-engine = { workspace = true, optional = true }
op-alloy-rpc-types = { workspace = true, optional = true }
Expand Down Expand Up @@ -62,3 +63,4 @@ rpc-types-engine = ["dep:op-alloy-rpc-types-engine"]

# std features
network = ["dep:op-alloy-network"]
provider = ["dep:op-alloy-provider"]
4 changes: 4 additions & 0 deletions crates/op-alloy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#[doc(inline)]
pub use op_alloy_consensus as consensus;

#[cfg(feature = "provider")]
#[doc(inline)]
pub use op_alloy_provider as provider;

#[cfg(feature = "network")]
#[doc(inline)]
pub use op_alloy_network as network;
Expand Down

0 comments on commit 558a3eb

Please sign in to comment.