diff --git a/crates/alloy/Cargo.toml b/crates/alloy/Cargo.toml index afe5ab66f31..9ef936ce869 100644 --- a/crates/alloy/Cargo.toml +++ b/crates/alloy/Cargo.toml @@ -72,6 +72,21 @@ std = [ "alloy-consensus?/std", ] +# full +full = [ + "consensus", + "contract", + "eips", + "k256", + "kzg", + "network", + "provider-http", # includes `providers` + "provider-ws", # includes `providers` + "provider-ipc", # includes `providers` + "rpc-types", # includes `rpc-types-eth` + "signer-wallet", # includes `signers` +] + # configuration reqwest = [ "dep:reqwest", @@ -116,8 +131,8 @@ pubsub = [ rpc = [] json-rpc = ["rpc", "dep:alloy-json-rpc"] rpc-client = ["rpc", "dep:alloy-rpc-client"] -rpc-client-ws = ["rpc", "alloy-rpc-client?/ws"] -rpc-client-ipc = ["rpc", "alloy-rpc-client?/ipc"] +rpc-client-ws = ["rpc-client", "alloy-rpc-client?/ws"] +rpc-client-ipc = ["rpc-client", "alloy-rpc-client?/ipc"] rpc-types = ["rpc", "dep:alloy-rpc-types", "alloy-rpc-types?/eth"] rpc-types-anvil = ["rpc-types", "alloy-rpc-types?/anvil"] rpc-types-beacon = ["rpc-types", "alloy-rpc-types?/beacon"] @@ -165,7 +180,7 @@ postgres = ["alloy-core/postgres"] getrandom = ["alloy-core/getrandom"] rand = ["alloy-core/rand"] rlp = ["alloy-core/rlp"] -serde = ["alloy-core/serde", "alloy-eips?/serde", "alloy-serde"] +serde = ["alloy-core/serde", "alloy-eips?/serde", "dep:alloy-serde"] ssz = ["alloy-core/ssz", "alloy-rpc-types?/ssz"] arbitrary = [ "alloy-core/arbitrary", diff --git a/crates/provider/src/lib.rs b/crates/provider/src/lib.rs index 565bc82048e..a44cc35b79a 100644 --- a/crates/provider/src/lib.rs +++ b/crates/provider/src/lib.rs @@ -48,3 +48,9 @@ pub mod utils; #[doc(no_inline)] pub use alloy_network::{self as network, Network}; + +#[cfg(feature = "ws")] +pub use alloy_rpc_client::WsConnect; + +#[cfg(feature = "ipc")] +pub use alloy_rpc_client::IpcConnect;