Skip to content

Commit

Permalink
Bump version of webpki-roots.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Aug 21, 2023
1 parent 6bc8486 commit 8e837d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/msrv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- uses: dtolnay/[email protected]
- run: cargo check
- run: cargo update --package once_cell --precise 1.14.0
- run: cargo check --features "json encoding_rs flate2"
- run: cargo check --features "encoding_rs flate2"
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "zeptohttpc"
description = "minimal HTTP client using http and httparse crates"
version = "0.6.0"
version = "0.7.0"
authors = ["Adam Reichold <[email protected]>"]
edition = "2018"
rust-version = "1.51"
Expand All @@ -28,7 +28,7 @@ once_cell = { version = "1.0", optional = true }
rustls = { version = "0.21", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
webpki-roots = { version = "0.23", optional = true }
webpki-roots = { version = "0.25", optional = true }
rustls-native-certs = { version = "0.6", optional = true }

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ fn perform_rustls_handshake(
let mut root_store = RootCertStore::empty();

#[cfg(feature = "webpki-roots")]
root_store.add_server_trust_anchors(TLS_SERVER_ROOTS.0.iter().map(|root| {
root_store.add_trust_anchors(TLS_SERVER_ROOTS.iter().map(|root| {
OwnedTrustAnchor::from_subject_spki_name_constraints(
root.subject,
root.spki,
Expand Down

0 comments on commit 8e837d4

Please sign in to comment.