Cargo Features

[dependencies]
alloy-rpc-client = { version = "0.5.4", default-features = false, features = ["reqwest", "hyper", "pubsub", "ws", "ipc"] }
default = reqwest

The reqwest feature is set by default whenever alloy-rpc-client is added without default-features = false somewhere in the dependency tree.

reqwest default

Enables reqwest and url, reqwest of alloy-transport-http

Affects alloy-rpc-client::ReqwestClient

hyper

Enables url, hyper of alloy-transport-http

pubsub ipc? ws?

Enables alloy-pubsub

ws = pubsub

Enables alloy-transport-ws and url

ipc = pubsub

Enables alloy-transport-ipc