Skip to content

Commit

Permalink
Replaced reqwest default-tls with rustls-tls
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <[email protected]>

use default-tls instead of hyper

Signed-off-by: Brooks Townsend <[email protected]>

moved reqwest feature

Signed-off-by: Brooks Townsend <[email protected]>

made rustls the default

Signed-off-by: Brooks Townsend <[email protected]>
  • Loading branch information
brooksmtownsend committed Jul 5, 2022
1 parent c823146 commit 27ba682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ default = ["server", "client", "caching", "test-tools"]
server = ["warp", "openid", "hyper", "mime", "either", "_common"]
client = ["mime_guess", "dirs", "time", "async-compression", "tokio-tar", "_common"]
# Internal use only feature that groups all of the optional deps we need for both server and client
_common = ["providers", "tokio/full", "tokio-util", "oauth2", "reqwest"]
_common = ["providers", "tokio/full", "tokio-util", "oauth2", "reqwest/rustls-tls"]
# Activates provider implementations
providers = ["lru", "serde_cbor", "sled"]
caching = ["lru"]
Expand Down Expand Up @@ -62,7 +62,7 @@ oauth2 = { version = "4.1.0", features = ["reqwest"], optional = true }
openid = { version = "0.9.3", optional = true }
# We need the older version of rand for dalek
rand = "0.7"
reqwest = { version = "0.11.4", features = ["stream"], optional = true }
reqwest = { version = "0.11.4", features = ["stream"], default-features = false, optional = true }
semver = { version = "1.0.4", features = ["serde"] }
serde = { version = "1.0.130", features = ["derive"] }
serde_cbor = { version = "0.11.2", optional = true }
Expand Down

0 comments on commit 27ba682

Please sign in to comment.