summaryrefslogtreecommitdiff
path: root/game/Cargo.toml
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 /game/Cargo.toml
parentFeedback and grade for Checkpoint (diff)
downloadDungeonCrawl-baae7dbc38ad4e131c107d9f0f638530ac250e2e.tar.gz
DungeonCrawl-baae7dbc38ad4e131c107d9f0f638530ac250e2e.tar.bz2
DungeonCrawl-baae7dbc38ad4e131c107d9f0f638530ac250e2e.zip
wasm support!
Diffstat (limited to 'game/Cargo.toml')
-rw-r--r--game/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/Cargo.toml b/game/Cargo.toml
index 5cdf4af..af4a533 100644
--- a/game/Cargo.toml
+++ b/game/Cargo.toml
@@ -8,7 +8,6 @@ publish.workspace = true
rust-version.workspace = true
[dependencies]
-argh.workspace = true
dungeon.workspace = true
graphics.workspace = true
@@ -21,3 +20,7 @@ x11 = ["graphics/x11"]
wayland = ["graphics/wayland"]
sdl = ["graphics/sdl"]
static = ["graphics/static"]
+
+# desktop dependencies
+[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
+argh.workspace = true