52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
repository = "https://git.avii.nl/git/guardian"
|
|
license = "MIT"
|
|
|
|
[package]
|
|
name = "guardian"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
|
|
[workspace.lints.clippy]
|
|
type_complexity = "allow"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
# Enable a small amount of optimization in debug mode
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[workspace.dependencies]
|
|
bevy = { version = "0.12", features = [
|
|
"dynamic_linking",
|
|
"multi-threaded",
|
|
"trace",
|
|
] }
|
|
dcs-grpc = { path = "./crates/dcs-grpc" }
|
|
guardian_commands = { path = "./crates/guardian_commands" }
|
|
guardian_core = { path = "./crates/guardian_core" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.34", features = ["macros", "rt-multi-thread", "signal"] }
|
|
clap = { version = "4.4", features = ["derive"] }
|
|
shlex = "1.2"
|
|
|
|
[dependencies]
|
|
bevy.workspace = true
|
|
clap.workspace = true
|
|
tokio.workspace = true
|
|
guardian_commands.workspace = true
|
|
guardian_core.workspace = true
|