summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-10 12:06:41 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-10 12:06:41 -0500
commit0b81cb61300c0b21b256e289f4b6f5a2252d3f0e (patch)
tree8238187250e4e4fb900240e55f28322a5188be83 /Cargo.toml
parentgraphics: fix atlas rendering offset bug, and make minimap scalable past 48px (diff)
downloadDungeonCrawl-0b81cb61300c0b21b256e289f4b6f5a2252d3f0e.tar.gz
DungeonCrawl-0b81cb61300c0b21b256e289f4b6f5a2252d3f0e.tar.bz2
DungeonCrawl-0b81cb61300c0b21b256e289f4b6f5a2252d3f0e.zip
update raylib to 5.6-dev
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml27
1 files changed, 26 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index ec8482a..af86efa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,10 +20,25 @@ dungeon = { path = "dungeon" }
game = { path = "game" }
graphics = { path = "graphics" }
rand = "0.9"
-raylib = "5.5"
strum = "0.27"
strum_macros = "0.27"
+[workspace.dependencies.raylib]
+git = "https://github.com/raylib-rs/raylib-rs"
+version = "5.7.0"
+default-features = false
+features = [
+ "GLFW_BUILD_X11",
+ "USE_AUDIO",
+ "SUPPORT_MODULE_RSHAPES",
+ "SUPPORT_MODULE_RTEXTURES",
+ "SUPPORT_MODULE_RTEXT",
+ "SUPPORT_MODULE_RAUDIO",
+ "SUPPORT_CAMERA_SYSTEM",
+ "SUPPORT_FILEFORMAT_BMP",
+ "SUPPORT_STANDARD_FILEIO",
+]
+
[workspace.lints.clippy]
# nursery
branches_sharing_code = "warn"
@@ -53,3 +68,13 @@ allow_attributes = "warn"
expect_used = "deny"
shadow_reuse = "warn"
unwrap_used = "deny"
+
+[profile.release]
+opt-level = 3
+lto = "fat"
+codegen-units = 1
+panic = "abort"
+strip = "symbols"
+debug = false
+incremental = false
+overflow-checks = false