diff options
| author | brian cully <bjc@spork.org> | 2025-12-28 17:06:32 -0500 |
|---|---|---|
| committer | brian cully <bjc@spork.org> | 2025-12-28 17:06:32 -0500 |
| commit | d485b9e2cd5429a91a57ff443a30a25522b7f7f0 (patch) | |
| tree | f1c3515478a4098a6f41fc0eda5071ac619ec5c9 /Cargo.toml | |
| parent | df43e984dff819e9743992cb7b047d9d17506384 (diff) | |
| download | polyring-d485b9e2cd5429a91a57ff443a30a25522b7f7f0.tar.gz polyring-d485b9e2cd5429a91a57ff443a30a25522b7f7f0.zip | |
let fastrand know we're in wasm
now seeds are random!
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -12,7 +12,10 @@ crate-type = ["cdylib", "rlib"] console_log = "1.0" log = "0.4" wasm-bindgen = "0.2" -fastrand = "2.3" + +[dependencies.fastrand] +features = ["js"] +version = "2.3" [dependencies.web-sys] features = ["Document", "DocumentTimeline", "Element", "HtmlElement", "HtmlCanvasElement", "CanvasRenderingContext2d", "Node", "Window"] |
