38 lines
856 B
TOML
38 lines
856 B
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
|
|
|
|
# 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",
|
|
] }
|
|
tokio = { version = "1.34", features = ["macros", "rt-multi-thread", "signal"] }
|
|
dcs-grpc = { path = "./crates/dcs-grpc" }
|
|
|
|
[dependencies]
|
|
guardian_core = { path = "./crates/guardian_core" }
|
|
bevy.workspace = true
|
|
tokio.workspace = true
|