[package] name = "reth-op" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true [lints] workspace = true [dependencies] # reth reth-primitives-traits = { workspace = true, features = ["op"] } reth-chainspec.workspace = true reth-network = { workspace = true, optional = true } reth-provider = { workspace = true, optional = true } reth-db = { workspace = true, optional = true, features = ["mdbx", "op"] } reth-storage-api = { workspace = true, optional = true } reth-node-api = { workspace = true, optional = true } reth-consensus = { workspace = true, optional = true } reth-consensus-common = { workspace = true, optional = true } reth-evm = { workspace = true, optional = true } reth-rpc = { workspace = true, optional = true } reth-rpc-api = { workspace = true, optional = true } reth-rpc-eth-types = { workspace = true, optional = true } reth-rpc-builder = { workspace = true, optional = true } reth-trie = { workspace = true, optional = true } # reth-op reth-optimism-primitives.workspace = true reth-optimism-chainspec.workspace = true reth-optimism-consensus = { workspace = true, optional = true } reth-optimism-evm = { workspace = true, optional = true } reth-optimism-node = { workspace = true, optional = true } reth-optimism-rpc = { workspace = true, optional = true } [features] default = ["std"] std = [ "reth-chainspec/std", "reth-consensus?/std", "reth-consensus-common?/std", "reth-optimism-chainspec/std", "reth-optimism-consensus?/std", "reth-optimism-evm?/std", "reth-optimism-primitives/std", "reth-primitives-traits/std", "reth-storage-api?/std", "reth-evm?/std", ] arbitrary = [ "std", "reth-chainspec/arbitrary", "reth-optimism-primitives/arbitrary", "reth-primitives-traits/arbitrary", "reth-db?/arbitrary", ] test-utils = [ "reth-chainspec/test-utils", "reth-consensus?/test-utils", "reth-db?/test-utils", "reth-evm?/test-utils", "reth-network?/test-utils", "reth-optimism-node?/test-utils", "reth-primitives-traits/test-utils", "reth-provider?/test-utils", "reth-trie?/test-utils", ] full = ["consensus", "evm", "node", "provider", "rpc", "trie"] alloy-compat = [ "reth-optimism-primitives/alloy-compat", ] consensus = ["dep:reth-consensus", "dep:reth-consensus-common", "dep:reth-optimism-consensus"] evm = ["dep:reth-evm", "dep:reth-optimism-evm"] node-api = ["dep:reth-node-api"] node = ["provider", "consensus", "evm", "node-api", "dep:reth-optimism-node", "rpc", "trie"] rpc = ["dep:reth-rpc", "dep:reth-rpc-builder", "dep:reth-rpc-api", "dep:reth-rpc-eth-types", "dep:reth-optimism-rpc"] js-tracer = ["rpc", "reth-rpc/js-tracer"] network = ["dep:reth-network"] provider = ["storage-api", "dep:reth-provider", "dep:reth-db"] storage-api = ["dep:reth-storage-api"] trie = ["dep:reth-trie"]