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.
27 lines
591 B
TOML
27 lines
591 B
TOML
[package]
|
|
name = "iced_core"
|
|
description = "The essential ideas of iced"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
categories.workspace = true
|
|
keywords.workspace = true
|
|
|
|
[dependencies]
|
|
bitflags.workspace = true
|
|
log.workspace = true
|
|
thiserror.workspace = true
|
|
xxhash-rust.workspace = true
|
|
num-traits.workspace = true
|
|
|
|
palette.workspace = true
|
|
palette.optional = true
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
instant.workspace = true
|
|
|
|
[dev-dependencies]
|
|
approx = "0.5"
|