Skip to content

Commit

Permalink
deps: update webpki-roots v0.24 -> 0.25 (#215)
Browse files Browse the repository at this point in the history
This commit updates the optional `webpki-roots` dependency from v0.24 to
v0.25.

One breaking change is addressed in `src/config.rs`.
  • Loading branch information
cpu authored Jul 26, 2023
1 parent 9b80236 commit 1c17cd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rustls-native-certs = { version = "0.6", optional = true }
rustls = { version = "0.21.0", default-features = false }
tokio = "1.0"
tokio-rustls = { version = "0.24.0", default-features = false }
webpki-roots = { version = "0.24", optional = true }
webpki-roots = { version = "0.25", optional = true }
futures-util = { version = "0.3", default-features = false }

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ impl ConfigBuilderExt for ConfigBuilder<ClientConfig, WantsVerifier> {
let mut roots = rustls::RootCertStore::empty();
roots.add_server_trust_anchors(
webpki_roots::TLS_SERVER_ROOTS
.0
.iter()
.map(|ta| {
rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
Expand Down

0 comments on commit 1c17cd6

Please sign in to comment.