From 6206a57a0c030f6dc641b25007bd1bfd1f598d0d Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 5 May 2024 15:33:18 +0200 Subject: [PATCH] Bump required ahash version Fixes this error: error[E0635]: unknown feature `stdsimd` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.4/src/lib.rs:99:42 | 99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))] | ^^^^^^^ As of 0.8.7, ahash no longer tries to use stdsimd on nightly --- tokio-util/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index 13e56dd8511..53f5621a7d1 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -29,7 +29,7 @@ codec = [] time = ["tokio/time","slab"] io = [] io-util = ["io", "tokio/rt", "tokio/io-util"] -rt = ["tokio/rt", "tokio/sync", "futures-util", "hashbrown"] +rt = ["tokio/rt", "tokio/sync", "futures-util", "hashbrown", "ahash"] __docs_rs = ["futures-util"] @@ -46,6 +46,7 @@ tracing = { version = "0.1.25", default-features = false, features = ["std"], op [target.'cfg(tokio_unstable)'.dependencies] hashbrown = { version = "0.14.0", optional = true } +ahash = { version = "0.8.7", optional = true } [dev-dependencies] tokio = { version = "1.0.0", path = "../tokio", features = ["full"] }