Cargo Features
[dependencies]
alloy-transport-http = { version = "0.7.0", default-features = false, features = ["reqwest", "hyper", "jwt-auth", "reqwest-default-tls", "reqwest-native-tls", "reqwest-rustls-tls"] }
- default = reqwest, reqwest-default-tls
-
These default features are set whenever
alloy-transport-http
is added without
somewhere in the dependency tree.default-features = false - reqwest default
-
Enables alloy-json-rpc, reqwest, serde_json, tower, and tracing
- hyper jwt-auth?
-
Enables alloy-json-rpc, http-body-util, hyper, hyper-util, serde_json, tower, and tracing
- jwt-auth = hyper
-
Enables jsonwebtoken, jwt and serde of alloy-rpc-types-engine
- reqwest-default-tls default
-
Enables default-tls of optional reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- reqwest-native-tls
-
Enables native-tls of optional reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- reqwest-rustls-tls
-
Enables rustls-tls of optional reqwest
alloy-transport-http has 7 features without comments.