Skip to content

Commit

Permalink
deps: update rustls v0.20.1 -> v0.21.0 (#1791)
Browse files Browse the repository at this point in the history
This commit updates reqwest to use rustls 0.21.0, both as a direct
dependency and through an update of tokio-rustls to 0.24.0,
hyper-rustls to 0.24.0, quinn 0.10.0, and h3-quinn to 0.0.3.

One change is required in the reqwest codebase to adjust the import
location of the `DigtallySignedStruct` type.
  • Loading branch information
cpu committed May 16, 2023
1 parent b13ca4b commit a0b5ea5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls"
tokio-native-tls = { version = "0.3.0", optional = true }

# rustls-tls
hyper-rustls = { version = "0.23", default-features = false, optional = true }
rustls = { version = "0.20", features = ["dangerous_configuration"], optional = true }
tokio-rustls = { version = "0.23", optional = true }
hyper-rustls = { version = "0.24.0", default-features = false, optional = true }
rustls = { version = "0.21.0", features = ["dangerous_configuration"], optional = true }
tokio-rustls = { version = "0.24", optional = true }
webpki-roots = { version = "0.22", optional = true }
rustls-native-certs = { version = "0.6", optional = true }
rustls-pemfile = { version = "1.0", optional = true }
Expand All @@ -141,8 +141,8 @@ trust-dns-resolver = { version = "0.22", optional = true }

# HTTP/3 experimental support
h3 = { version="0.0.2", optional = true }
h3-quinn = { version="0.0.2", optional = true }
quinn = { version = "0.9", default-features = false, features = ["tls-rustls", "ring"], optional = true }
h3-quinn = { version="0.0.3", optional = true }
quinn = { version = "0.10", default-features = false, features = ["tls-rustls", "ring"], optional = true }
futures-channel = { version="0.3", optional = true}


Expand Down
2 changes: 1 addition & 1 deletion src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#[cfg(feature = "__rustls")]
use rustls::{
client::HandshakeSignatureValid, client::ServerCertVerified, client::ServerCertVerifier,
internal::msgs::handshake::DigitallySignedStruct, Error as TLSError, ServerName,
DigitallySignedStruct, Error as TLSError, ServerName,
};
use std::fmt;

Expand Down

0 comments on commit a0b5ea5

Please sign in to comment.