Skip to content

Commit

Permalink
chore: add more features to meta crate (alloy-rs#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored and ben186 committed Jul 27, 2024
1 parent 2208900 commit 83b2ed6
Showing 1 changed file with 47 additions and 2 deletions.
49 changes: 47 additions & 2 deletions crates/alloy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,63 @@ wasm-bindgen = ["alloy-transport?/wasm-bindgen"]

# general
consensus = ["dep:alloy-consensus"]
contract = ["dep:alloy-contract", "dyn-abi", "json-abi", "json", "sol-types"]
contract = [
"dep:alloy-contract",
"providers",
"dyn-abi",
"json-abi",
"json",
"sol-types",
]
eips = ["dep:alloy-eips"]
genesis = ["dep:alloy-genesis"]
network = ["dep:alloy-network"]
node-bindings = ["dep:alloy-node-bindings", "alloy-provider?/anvil-node"]

# providers
providers = ["dep:alloy-provider"]
providers = ["dep:alloy-provider", "rpc-client", "eips"]
provider-http = ["providers", "transport-http"]
provider-ws = ["providers", "alloy-provider?/ws", "transport-ws"]
provider-ipc = ["providers", "alloy-provider?/ipc", "transport-ipc"]

provider-admin-api = [
"providers",
"alloy-provider?/admin-api",
"rpc-types-admin",
]
provider-anvil-api = [
"providers",
"alloy-provider?/anvil-api",
"rpc-types-anvil",
]
provider-debug-api = [
"providers",
"alloy-provider?/debug-api",
"rpc-types-trace",
]
provider-engine-api = [
"providers",
"alloy-provider?/engine-api",
"rpc-types-engine",
]
provider-trace-api = [
"providers",
"alloy-provider?/trace-api",
"rpc-types-trace",
]
provider-txpool-api = [
"providers",
"alloy-provider?/txpool-api",
"rpc-types-txpool",
]

provider-anvil-node = [
"providers",
"provider-anvil-api",
"alloy-provider?/anvil-node",
"node-bindings",
]

# pubsub
pubsub = [
"dep:alloy-pubsub",
Expand Down

0 comments on commit 83b2ed6

Please sign in to comment.