summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-10-30 14:10:28 -0400
committerFreya Murphy <freya@freyacat.org>2025-10-30 14:10:28 -0400
commit959a25218f0cbf3c63128b314eab033ff32127c1 (patch)
tree81cbba54e6c14a8ec304959458fca48d01f19b39
parentMerge branch 'wave-function-collapse' into 'main' (diff)
downloadDungeonCrawl-959a25218f0cbf3c63128b314eab033ff32127c1.tar.gz
DungeonCrawl-959a25218f0cbf3c63128b314eab033ff32127c1.tar.bz2
DungeonCrawl-959a25218f0cbf3c63128b314eab033ff32127c1.zip
graphics: move wayland support to a feature
-rw-r--r--game/Cargo.toml1
-rw-r--r--graphics/Cargo.toml4
2 files changed, 2 insertions, 3 deletions
diff --git a/game/Cargo.toml b/game/Cargo.toml
index bbd9b77..0fb5475 100644
--- a/game/Cargo.toml
+++ b/game/Cargo.toml
@@ -13,3 +13,4 @@ workspace = true
[features]
default = ["debug"]
debug = ["graphics/debug"]
+wayland = ["graphics/wayland"]
diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml
index 28fd32a..14679da 100644
--- a/graphics/Cargo.toml
+++ b/graphics/Cargo.toml
@@ -7,12 +7,10 @@ edition = "2024"
dungeon = { path = "../dungeon" }
raylib = "5.5"
-#[target.'cfg(target_os = "linux")'.dependencies]
-#raylib = { version = "5.5", features = ["wayland"] }
-
[lints]
workspace = true
[features]
default = []
debug = []
+wayland = ["raylib/wayland"]