summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-03-30 23:49:26 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-30 23:49:26 +0100
commitc7a4fad4a24dec8536f450d447a9852846f2d711 (patch)
treebcdf3d450dcaaf445a237d9dfac646dee78e838e /core
parent5071e3d231699f67347a11b829cc8c9e50e54370 (diff)
parent4c74bebc708f960f77d53526e7da4187f56967c9 (diff)
downloadiced-c7a4fad4a24dec8536f450d447a9852846f2d711.tar.gz
iced-c7a4fad4a24dec8536f450d447a9852846f2d711.tar.bz2
iced-c7a4fad4a24dec8536f450d447a9852846f2d711.zip
Merge pull request #2357 from iced-rs/wgpu/use-staging-belt
Use a `StagingBelt` in `iced_wgpu` for regular buffer uploads
Diffstat (limited to 'core')
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/src/hasher.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 32d233ee..d3529d98 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -21,10 +21,10 @@ log.workspace = true
num-traits.workspace = true
once_cell.workspace = true
palette.workspace = true
+rustc-hash.workspace = true
smol_str.workspace = true
thiserror.workspace = true
web-time.workspace = true
-xxhash-rust.workspace = true
dark-light.workspace = true
dark-light.optional = true
diff --git a/core/src/hasher.rs b/core/src/hasher.rs
index a13d78af..13180e41 100644
--- a/core/src/hasher.rs
+++ b/core/src/hasher.rs
@@ -1,7 +1,7 @@
/// The hasher used to compare layouts.
#[allow(missing_debug_implementations)] // Doesn't really make sense to have debug on the hasher state anyways.
#[derive(Default)]
-pub struct Hasher(xxhash_rust::xxh3::Xxh3);
+pub struct Hasher(rustc_hash::FxHasher);
impl core::hash::Hasher for Hasher {
fn write(&mut self, bytes: &[u8]) {