Skip to content

Commit

Permalink
fixup! Feature gate reth-optimism-rpc crate to work as workspace member
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Jul 9, 2024
1 parent 4fcbcd5 commit 8181e1a
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions crates/optimism/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ workspace = true

[dependencies]
# reth
reth-chainspec = { workspace = true, features = ["optimism"] }
reth-chainspec.workspace = true
reth-errors.workspace = true
reth-evm-optimism = { workspace = true, features = ["optimism"] }
reth-evm-optimism.workspace = true
reth-evm.workspace = true
reth-primitives = { workspace = true, features = ["optimism"] }
reth-provider = { workspace = true, features = ["optimism"] }
reth-rpc-eth-api = { workspace = true, features = ["optimism"] }
reth-rpc-eth-types = { workspace = true, features = ["optimism"] }
reth-primitives.workspace = true
reth-provider.workspace = true
reth-rpc-eth-api.workspace = true
reth-rpc-eth-types.workspace = true
reth-rpc-server-types.workspace = true
reth-rpc-types.workspace = true
reth-tasks = { workspace = true, features = ["rayon"] }
reth-tasks.workspace = true
reth-transaction-pool.workspace = true

# ethereum
alloy-primitives.workspace = true
revm = { workspace = true, features = ["optimism"] }
revm.workspace = true

# async
parking_lot.workspace = true
Expand All @@ -41,4 +41,13 @@ jsonrpsee.workspace = true
thiserror.workspace = true

[features]
optimism = []
optimism = [
"reth-chainspec/optimism",
"reth-evm-optimism/optimism",
"reth-primitives/optimism",
"reth-provider/optimism",
"reth-rpc-eth-api/optimism",
"reth-rpc-eth-types/optimism",
"reth-tasks/optimism",
"revm/optimism"
]

0 comments on commit 8181e1a

Please sign in to comment.