Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance.

xxhash-rust is more maintained, built against `::core`, so no workaround for wasm is necessary. Switch to Xxh3 for better performance, which shows when loading/hashing image buffers.
This commit is contained in:
dtzxporter 2023-09-12 18:15:00 -04:00 committed by Héctor Ramón Jiménez
parent 751ea77c29
commit 98e088e731
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
6 changed files with 8 additions and 19 deletions

View file

@ -150,7 +150,7 @@ thiserror = "1.0"
tiny-skia = "0.10"
tokio = "1.0"
tracing = "0.1"
twox-hash = { version = "1.0", default-features = false }
xxhash-rust = { version = "0.8.7", default-features = false, features = ["xxh3"] }
unicode-segmentation = "1.0"
wasm-bindgen-futures = "0.4"
wasm-timer = "0.2"