Skip to content

Commit

Permalink
Update indexmap to version 2 (#698)
Browse files Browse the repository at this point in the history
* Update indexmap to version 2

* Update webpki-roots dev-dep to 0.25

* Update tokio-rustls dev-dep to 0.24

* Update env_logger dev-dep to 0.10

* Remove combined minimal-versions + MSRV check for now
  • Loading branch information
djc authored Oct 9, 2023
1 parent a3f01c1 commit 1f247de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,3 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions

- run: cargo +${{ steps.msrv-toolchain.outputs.name }} minimal-versions check
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ http = "0.2"
tracing = { version = "0.1.32", default-features = false, features = ["std"] }
fnv = "1.0.5"
slab = "0.4.2"
indexmap = { version = "1.5.2", features = ["std"] }
indexmap = { version = "2", features = ["std"] }

[dev-dependencies]

Expand All @@ -67,9 +67,9 @@ serde_json = "1.0.0"

# Examples
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "net"] }
env_logger = { version = "0.9", default-features = false }
tokio-rustls = "0.23.2"
webpki-roots = "0.22.2"
env_logger = { version = "0.10", default-features = false }
tokio-rustls = "0.24"
webpki-roots = "0.25"

[package.metadata.docs.rs]
features = ["stream"]
2 changes: 1 addition & 1 deletion examples/akamai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub async fn main() -> Result<(), Box<dyn Error>> {

let tls_client_config = std::sync::Arc::new({
let mut root_store = RootCertStore::empty();
root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
root_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject,
ta.spki,
Expand Down

0 comments on commit 1f247de

Please sign in to comment.