Skip to content

Commit b91e672

Browse files
djc0xE282B0
authored andcommitted
Update indexmap to version 2 (hyperium#698)
1 parent a3e034a commit b91e672

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 2 deletions
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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ http = "0.2"
5555
tracing = { version = "0.1.32", default-features = false, features = ["std"] }
5656
fnv = "1.0.5"
5757
slab = "0.4.2"
58-
indexmap = { version = "1.5.2", features = ["std"] }
58+
indexmap = { version = "2", features = ["std"] }
5959

6060
[dev-dependencies]
6161

@@ -71,9 +71,9 @@ serde_json = "1.0.0"
7171

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

7878
[package.metadata.docs.rs]
7979
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_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)