2023-12-20 19:05:12 -08:00
|
|
|
[package]
|
2023-12-30 17:59:55 -08:00
|
|
|
name = "galactica"
|
2023-12-20 19:05:12 -08:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-12-22 14:13:32 -08:00
|
|
|
[profile.dev]
|
|
|
|
opt-level = 0
|
|
|
|
debug = true
|
|
|
|
strip = false
|
|
|
|
debug-assertions = true
|
|
|
|
overflow-checks = true
|
|
|
|
lto = false
|
|
|
|
panic = "unwind"
|
|
|
|
incremental = true
|
|
|
|
codegen-units = 256
|
|
|
|
rpath = false
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
strip = "symbols"
|
|
|
|
lto = "fat"
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
|
|
|
incremental = false
|
|
|
|
rpath = false
|
|
|
|
|
2023-12-29 15:14:04 -08:00
|
|
|
|
|
|
|
[workspace]
|
2024-01-01 11:29:48 -08:00
|
|
|
members = [
|
|
|
|
"crates/content",
|
|
|
|
"crates/render",
|
|
|
|
"crates/constants",
|
2024-01-01 15:41:47 -08:00
|
|
|
"crates/world",
|
2024-01-01 11:40:31 -08:00
|
|
|
"crates/shipbehavior",
|
2024-01-01 15:41:47 -08:00
|
|
|
"crates/gameobject",
|
2024-01-01 16:43:29 -08:00
|
|
|
"crates/ui",
|
2024-01-01 11:29:48 -08:00
|
|
|
]
|
2023-12-29 15:14:04 -08:00
|
|
|
|
|
|
|
|
2023-12-20 19:05:12 -08:00
|
|
|
[dependencies]
|
2023-12-29 15:14:04 -08:00
|
|
|
# Internal crates
|
|
|
|
galactica-content = { path = "crates/content" }
|
2023-12-31 18:39:37 -08:00
|
|
|
galactica-render = { path = "crates/render" }
|
2024-01-01 10:44:55 -08:00
|
|
|
galactica-constants = { path = "crates/constants" }
|
2024-01-01 15:41:47 -08:00
|
|
|
galactica-world = { path = "crates/world" }
|
2024-01-01 11:40:31 -08:00
|
|
|
galactica-shipbehavior = { path = "crates/shipbehavior" }
|
2024-01-01 15:41:47 -08:00
|
|
|
galactica-gameobject = { path = "crates/gameobject" }
|
2024-01-01 16:43:29 -08:00
|
|
|
galactica-ui = { path = "crates/ui" }
|
2023-12-29 15:14:04 -08:00
|
|
|
|
2023-12-22 22:46:35 -08:00
|
|
|
# Files
|
|
|
|
image = { version = "0.24", features = ["png"] }
|
|
|
|
# Graphics
|
2023-12-22 16:51:21 -08:00
|
|
|
winit = "0.28"
|
|
|
|
wgpu = "0.18"
|
2023-12-29 15:14:04 -08:00
|
|
|
# Physics
|
2023-12-31 18:39:37 -08:00
|
|
|
rapier2d = { version = "0.17.2" }
|
2023-12-29 15:14:04 -08:00
|
|
|
nalgebra = "0.32.3"
|
|
|
|
crossbeam = "0.8.3"
|
2023-12-22 22:46:35 -08:00
|
|
|
# Misc helpers
|
|
|
|
pollster = "0.3"
|
2023-12-22 16:51:21 -08:00
|
|
|
anyhow = "1.0"
|
2023-12-31 18:39:37 -08:00
|
|
|
# TODO: migrate to nalgebra
|
2023-12-22 16:51:21 -08:00
|
|
|
cgmath = "0.18.0"
|
2023-12-22 22:46:35 -08:00
|
|
|
rand = "0.8.5"
|
2023-12-24 23:03:00 -08:00
|
|
|
walkdir = "2.4.0"
|