Skip to content

Commit 3e69db6

Browse files
committed
Update webpki-roots dev-dep to 0.25
1 parent cda97c3 commit 3e69db6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ serde_json = "1.0.0"
6969
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "net"] }
7070
env_logger = { version = "0.9", default-features = false }
7171
tokio-rustls = "0.23.2"
72-
webpki-roots = "0.22.2"
72+
webpki-roots = "0.25"
7373

7474
[package.metadata.docs.rs]
7575
features = ["stream"]

examples/akamai.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub async fn main() -> Result<(), Box<dyn Error>> {
1717

1818
let tls_client_config = std::sync::Arc::new({
1919
let mut root_store = RootCertStore::empty();
20-
root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
20+
root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
2121
OwnedTrustAnchor::from_subject_spki_name_constraints(
2222
ta.subject,
2323
ta.spki,

0 commit comments

Comments
 (0)