Skip to content

Commit

Permalink
fix(op-alloy): Add Missing Registry Crate (#311)
Browse files Browse the repository at this point in the history
### Description

Adds the missing `op-alloy-registry` to the `op-alloy` aggregator crate
under the `registry` feature flag.
  • Loading branch information
refcell authored Nov 23, 2024
1 parent fff9f55 commit 8a38fc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/op-alloy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ op-alloy-consensus = { workspace = true, optional = true }
op-alloy-genesis = { workspace = true, optional = true }
op-alloy-network = { workspace = true, optional = true }
op-alloy-protocol = { workspace = true, optional = true }
op-alloy-registry = { workspace = true, optional = true }
op-alloy-provider = { workspace = true, optional = true }
op-alloy-rpc-jsonrpsee = { workspace = true, optional = true }
op-alloy-rpc-types-engine = { workspace = true, optional = true }
Expand All @@ -35,6 +36,7 @@ std = [
"op-alloy-consensus?/std",
"op-alloy-genesis?/std",
"op-alloy-protocol?/std",
"op-alloy-registry?/std",
"op-alloy-rpc-types?/std",
"op-alloy-rpc-types-engine?/std",
]
Expand All @@ -43,6 +45,7 @@ full = [
"consensus",
"genesis",
"provider",
"registry",
"network",
"protocol",
"rpc-types",
Expand Down Expand Up @@ -72,6 +75,7 @@ serde = [
# `no_std` support
consensus = ["dep:op-alloy-consensus"]
genesis = ["dep:op-alloy-genesis"]
registry = ["dep:op-alloy-registry"]
protocol = ["dep:op-alloy-protocol"]
rpc-types = ["dep:op-alloy-rpc-types"]
rpc-types-engine = ["dep:op-alloy-rpc-types-engine"]
Expand Down
4 changes: 4 additions & 0 deletions crates/op-alloy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ pub use op_alloy_network as network;
#[doc(inline)]
pub use op_alloy_protocol as protocol;

#[cfg(feature = "registry")]
#[doc(inline)]
pub use op_alloy_registry as registry;

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

0 comments on commit 8a38fc6

Please sign in to comment.