Skip to content

Commit

Permalink
feat(alloy): forward rustls & native reqwest TLS configuration to…
Browse files Browse the repository at this point in the history
… Alloy's metacrate (alloy-rs#969)

* add reqwest feature flags to metacrate

* enable reqwest when enabling sub-flag for consistency

* remove redundant reqwest entry

* avoid breaking changes
  • Loading branch information
zerosnacks authored and ben186 committed Jul 27, 2024
1 parent 6119848 commit acdbd5e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions crates/alloy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,20 @@ reqwest = [
"alloy-transport-http?/reqwest",
"alloy-transport-http?/reqwest-default-tls",
]
reqwest-rustls-tls = [
"dep:reqwest",
"alloy-rpc-client?/reqwest",
"alloy-provider?/reqwest",
"alloy-transport-http?/reqwest",
"alloy-transport-http?/reqwest-rustls-tls",
]
reqwest-native-tls = [
"dep:reqwest",
"alloy-rpc-client?/reqwest",
"alloy-provider?/reqwest",
"alloy-transport-http?/reqwest",
"alloy-transport-http?/reqwest-native-tls",
]
hyper = [
"dep:hyper",
"alloy-rpc-client?/hyper",
Expand Down Expand Up @@ -129,7 +143,6 @@ 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",
Expand Down Expand Up @@ -160,7 +173,6 @@ provider-txpool-api = [
"alloy-provider?/txpool-api",
"rpc-types-txpool",
]

provider-anvil-node = [
"providers",
"provider-anvil-api",
Expand Down

0 comments on commit acdbd5e

Please sign in to comment.