raindrop/Cargo.toml

67 lines
2.1 KiB
TOML
Raw Normal View History

2024-12-28 18:36:05 -05:00
[workspace]
resolver = "2"
2025-03-28 16:33:40 -04:00
members = [
"crates/engine",
"crates/gfx_hal",
"crates/renderer",
2025-04-05 20:54:38 -04:00
"crates/resource_manager",
"crates/scene",
"crates/shared",
2025-03-28 16:33:40 -04:00
]
2024-12-28 18:36:05 -05:00
[workspace.dependencies]
2025-03-26 20:02:58 -04:00
ash = { version = "0.38" }
ash-window = "0.13.0"
2024-12-28 18:36:05 -05:00
color-eyre = "0.6.3"
2025-03-28 17:31:16 -04:00
winit = { version = "0.30.9", features = ["rwh_06"] }
2024-12-28 18:36:05 -05:00
raw-window-handle = "0.6"
2025-03-26 20:02:58 -04:00
gpu-allocator = { version = "0.27.0", features = ["vulkan"] }
glam = { version = "0.22", default-features = false, features = [
"libm",
"bytemuck",
] }
2025-03-28 16:33:40 -04:00
egui-ash-renderer = { version = "0.8.0", features = [
"gpu-allocator",
"dynamic-rendering",
] }
egui = "0.31"
2025-04-05 20:54:38 -04:00
egui_tiles = "0.12"
2025-03-26 20:02:58 -04:00
bytemuck = { version = "1.21.0", features = ["derive"] }
2025-04-05 20:54:38 -04:00
tracing = { features = ["release_max_level_warn"], version = "0.1" }
2025-03-28 16:33:40 -04:00
tracing-subscriber = { version = "0.3", features = ["json"] }
2025-03-26 20:02:58 -04:00
thiserror = "2.0.12"
2025-04-05 20:54:38 -04:00
gltf = "1.4.1"
2024-12-28 18:36:05 -05:00
2024-12-29 12:06:13 -05:00
# # Enable incremental by default in release mode.
# [profile.release]
# incremental = true
# # HACK(eddyb) this is the default but without explicitly specifying it, Cargo
# # will treat the identical settings in `[profile.release.build-override]` below
# # as different sets of `rustc` flags and will not reuse artifacts between them.
# codegen-units = 256
#
# # Compile build-dependencies in release mode with the same settings
# # as regular dependencies (including the incremental enabled above).
# [profile.release.build-override]
# opt-level = 3
# incremental = true
# codegen-units = 256
2024-12-28 18:36:05 -05:00
# HACK(eddyb) reduce the number of linker exports and/or imports, by avoiding
# inter-CGU linkage, to stay under the 64Ki MSVC limit for `rustc_codegen_spirv`
# when building it in "debug mode" (only relevant to CI for now, realistically),
# i.e. working around this issue: https://github.com/rust-lang/rust/issues/53014.
[profile.dev]
# HACK(eddyb) fewer inter-crate exports/imports (not just inter-CGU), but sadly
# not configurable w/o breaking `Cargo.toml` parsing from non-nightly Cargo
# (moved to `.github/workflows/ci.yaml` as `RUSTFLAGS: -Zshare-generics=off`).
#
# rustflags = ["-Zshare-generics=off"]
2024-12-29 12:06:13 -05:00
# codegen-units = 1
2025-04-05 20:54:38 -04:00
opt-level = 1
[profile.dev.package."*"]
2024-12-28 19:08:21 -05:00
opt-level = 3