summaryrefslogtreecommitdiff
path: root/dungeon
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-17 10:02:56 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-17 10:28:44 -0500
commitbaae7dbc38ad4e131c107d9f0f638530ac250e2e (patch)
treecb6c6dbab81424999617eef09885e798ee2c21c9 /dungeon
parentFeedback and grade for Checkpoint (diff)
downloadDungeonCrawl-baae7dbc38ad4e131c107d9f0f638530ac250e2e.tar.gz
DungeonCrawl-baae7dbc38ad4e131c107d9f0f638530ac250e2e.tar.bz2
DungeonCrawl-baae7dbc38ad4e131c107d9f0f638530ac250e2e.zip
wasm support!
Diffstat (limited to 'dungeon')
-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"] }