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:
parent
751ea77c29
commit
98e088e731
6 changed files with 8 additions and 19 deletions
|
|
@ -33,8 +33,8 @@ once_cell.workspace = true
|
|||
raw-window-handle.workspace = true
|
||||
rustc-hash.workspace = true
|
||||
thiserror.workspace = true
|
||||
twox-hash.workspace = true
|
||||
unicode-segmentation.workspace = true
|
||||
xxhash-rust.workspace = true
|
||||
|
||||
image.workspace = true
|
||||
image.optional = true
|
||||
|
|
@ -44,7 +44,3 @@ kamadak-exif.optional = true
|
|||
|
||||
lyon_path.workspace = true
|
||||
lyon_path.optional = true
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
twox-hash.workspace = true
|
||||
twox-hash.features = ["std"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue