summaryrefslogtreecommitdiff
path: root/dungeon/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'dungeon/Cargo.toml')
-rw-r--r--dungeon/Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/dungeon/Cargo.toml b/dungeon/Cargo.toml
index 906058d..213fc3b 100644
--- a/dungeon/Cargo.toml
+++ b/dungeon/Cargo.toml
@@ -8,9 +8,13 @@ publish.workspace = true
rust-version.workspace = true
[dependencies]
+getrandom.workspace = true
rand.workspace = true
strum.workspace = true
strum_macros.workspace = true
[lints]
workspace = true
+
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+getrandom = { workspace = true, features = ["wasm_js"] }