We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e145e5 commit a98a00cCopy full SHA for a98a00c
cap-tempfile/Cargo.toml
@@ -18,7 +18,7 @@ uuid = { version = "1.0.0", features = ["v4"] }
18
camino = { version = "1.0.5", optional = true }
19
20
[target.'cfg(target_os = "emscripten")'.dependencies]
21
-rand = "0.8.1"
+rand = "0.9.2"
22
23
[target.'cfg(not(windows))'.dependencies]
24
rustix = { version = "1.0.0" }
cap-tempfile/src/lib.rs
@@ -131,7 +131,7 @@ impl TempDir {
131
#[cfg(target_os = "emscripten")]
132
{
133
use rand::RngCore;
134
- let mut r = rand::thread_rng();
+ let mut r = rand::rng();
135
format!("cap-primitives.{}", r.next_u32())
136
}
137
0 commit comments