Cargo Features
[dependencies]
alloy-rpc-client = { version = "0.4.2", default-features = false, features = ["reqwest", "hyper", "pubsub", "ws", "ipc"] }
- default = reqwest
-
The
reqwest
feature is set by default wheneveralloy-rpc-client
is added without
somewhere in the dependency tree.default-features = false - 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