diff --git a/Cargo.toml b/Cargo.toml index 050cf51d..383a77c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } @@ -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"]