aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 84380f9..1d6d1f4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"]