Skip to content

Commit

Permalink
Bump required ahash version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Darksonn committed May 5, 2024
1 parent a8945a6 commit 6206a57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tokio-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand All @@ -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"] }
Expand Down

0 comments on commit 6206a57

Please sign in to comment.