Skip to content

Commit

Permalink
deps: update rustls v0.20.1 -> v0.21.0
Browse files Browse the repository at this point in the history
This commit updates hyper-rustls to use the freshly released rustls
0.21.0.work.

We also use a patch to pick up a WIP upgrade[0] to tokio-rustls to match
rustls versions there.

[0]: tokio-rs/tls#137
  • Loading branch information
cpu committed Mar 29, 2023
1 parent 468c788 commit 538c6a2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ http = "0.2"
hyper = { version = "0.14", default-features = false, features = ["client"] }
log = { version = "0.4.4", optional = true }
rustls-native-certs = { version = "0.6", optional = true }
rustls = { version = "0.20.1", default-features = false }
rustls = { version = "0.21.0", default-features = false }
tokio = "1.0"
tokio-rustls = { version = "0.23", default-features = false }
tokio-rustls = { version = "0.24.0", default-features = false }
webpki-roots = { version = "0.22", optional = true }

[dev-dependencies]
futures-util = { version = "0.3.1", default-features = false }
hyper = { version = "0.14", features = ["full"] }
rustls = { version = "0.20.1", default-features = false, features = ["tls12"] }
rustls = { version = "0.21.0", default-features = false, features = ["tls12"] }
rustls-pemfile = "1.0.0"
tokio = { version = "1.0", features = ["io-std", "macros", "net", "rt-multi-thread"] }

Expand All @@ -49,3 +49,6 @@ required-features = ["tokio-runtime"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[patch.crates-io]
tokio-rustls = { git = 'https://github.com/cpu/tokio-tls', branch = 'cpu-rustls-0.21.0-prep' }

0 comments on commit 538c6a2

Please sign in to comment.