Skip to content

Commit 0a3a27f

Browse files
committed
Drop dependency on rustc-hash, we no longer need a fast hasher
1 parent eb7473d commit 0a3a27f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ no_denormals = "0.1.2"
2929
num-complex = "0.4"
3030
realfft = "3.3"
3131
rubato = "0.14"
32-
rustc-hash = "1.1"
3332
smallvec = "1.11"
3433
symphonia = { version = "0.5", default-features = false }
3534
vecmath = "1.0"

src/media_devices/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//!
55
//! <https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices>
66
7-
use rustc_hash::FxHasher;
7+
use std::collections::hash_map::DefaultHasher;
88
use std::hash::{Hash, Hasher};
99

1010
use crate::context::{AudioContextLatencyCategory, AudioContextOptions};
@@ -54,7 +54,7 @@ impl DeviceId {
5454
index,
5555
};
5656

57-
let mut hasher = FxHasher::default();
57+
let mut hasher = DefaultHasher::new();
5858
device_info.hash(&mut hasher);
5959
format!("{}", hasher.finish())
6060
}

0 commit comments

Comments
 (0)