Skip to content

Commit 1f247de

Browse files
authored
Update indexmap to version 2 (#698)
* 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
1 parent a3f01c1 commit 1f247de

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/CI.yml

-2
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,3 @@ jobs:
9393
- uses: dtolnay/rust-toolchain@nightly
9494
- uses: taiki-e/install-action@cargo-hack
9595
- uses: taiki-e/install-action@cargo-minimal-versions
96-
97-
- run: cargo +${{ steps.msrv-toolchain.outputs.name }} minimal-versions check

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ http = "0.2"
5151
tracing = { version = "0.1.32", default-features = false, features = ["std"] }
5252
fnv = "1.0.5"
5353
slab = "0.4.2"
54-
indexmap = { version = "1.5.2", features = ["std"] }
54+
indexmap = { version = "2", features = ["std"] }
5555

5656
[dev-dependencies]
5757

@@ -67,9 +67,9 @@ serde_json = "1.0.0"
6767

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

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

examples/akamai.rs

+1-1
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_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)