56 lines
1.2 KiB
TOML
56 lines
1.2 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/game_core",
|
|
"crates/game_server",
|
|
"crates/game_client",
|
|
"xtask"
|
|
]
|
|
default-members = ["crates/game_client"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[workspace.dependencies]
|
|
bevy = { version = "0.19", default-features = false }
|
|
bevy_replicon = "0.44"
|
|
bevy_replicon_renet = "0.20"
|
|
serde = { version = "1", features = ["derive"] }
|
|
rsn = "0.2"
|
|
rune = "0.14"
|
|
tiled = "0.16"
|
|
thiserror = "2"
|
|
serde_json = "1"
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
sqlx = { version = "0.9", default-features = false, features = [
|
|
"any",
|
|
"sqlite",
|
|
"postgres",
|
|
"runtime-tokio",
|
|
"tls-rustls-ring-webpki"
|
|
] }
|
|
tokio = { version = "1", features = ["rt-multi-thread"] }
|
|
directories = "6"
|
|
clap = { version = "4.6", features = ["derive"] }
|
|
toml = "1.1"
|
|
toml_edit = "0.25"
|
|
game_core = { path = "crates/game_core" }
|
|
game_server = { path = "crates/game_server" }
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
# Used by `cargo xtask pack` for distributable builds.
|
|
[profile.dist]
|
|
inherits = "release"
|
|
strip = true
|
|
|
|
[workspace.lints.clippy]
|
|
# Bevy system queries are naturally verbose.
|
|
type_complexity = "allow"
|
|
too_many_arguments = "allow"
|