Fix no-std by limiting ahash to 0.8.0.

This commit is contained in:
Stephen Chung 2022-11-05 11:35:01 +08:00
parent 6e0f8b5007
commit 4455d95abc

View File

@ -19,7 +19,8 @@ categories = ["no-std", "embedded", "wasm", "parser-implementations"]
[dependencies]
smallvec = { version = "1.7", default-features = false, features = ["union", "const_new", "const_generics"] }
ahash = { version = "0.8", default-features = false, features = ["compile-time-rng"] }
# 0.8.1 pulls in `getrandom/js` which breaks no-std
ahash = { version = "=0.8.0", default-features = false, features = ["compile-time-rng"] }
num-traits = { version = "0.2", default-features = false }
bitflags = { version = "1", default-features = false }
smartstring = { version = "1", default-features = false }