Skip to content

Commit

Permalink
fix: rustls hard-dependency (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
benpueschel authored Oct 15, 2024
1 parent 766962c commit 180f617
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ http = "1.0.0"
http-body = "1.0.0"
http-body-util = "0.1.0"
hyper = "1.1.0"
hyper-rustls = { version = "0.27.0", optional = true }
hyper-rustls = { version = "0.27.0", optional = true, default-features = false, features = [
"http1",
"logging",
"native-tokio",
"tls12",
]}
hyper-timeout = { version = "0.5.1", optional = true }
hyper-tls = { version = "0.6.0", optional = true }
hyper-util = { version = "0.1.3", features = ["http1"] }
Expand Down Expand Up @@ -71,11 +76,13 @@ pretty_assertions = "1.4.0"
graphql_client = "0.14.0"

[features]
default = ["follow-redirect", "retry", "rustls", "timeout", "tracing", "default-client"]
default = ["follow-redirect", "retry", "rustls", "timeout", "tracing", "default-client", "rustls-ring"]

follow-redirect = ["tower-http/follow-redirect"]
retry = ["tower/retry", "futures-util"]
rustls = ["hyper-rustls"]
rustls-ring = ["hyper-rustls/ring"]
rustls-aws-lc-rs = ["hyper-rustls/aws-lc-rs"]
rustls-webpki-tokio = ["hyper-rustls/webpki-tokio"]
opentls = ["hyper-tls"]
stream = ["futures-core", "futures-util"]
Expand Down

0 comments on commit 180f617

Please sign in to comment.