new logic-derive Command macro submits each command to inventory, manager decodes by vint type. titan-derive loses tagged enums since nothing uses them now. rest of the diff is rustfmt.
49 lines
1.2 KiB
TOML
49 lines
1.2 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"titan/titan",
|
|
"titan/titan-derive",
|
|
"logic/logic",
|
|
"logic/logic-derive",
|
|
"services/service-rpc",
|
|
"services/auth-service",
|
|
"services/game-service",
|
|
"services/gateway",
|
|
"services/scroll-server",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.75"
|
|
license = "MIT"
|
|
|
|
[workspace.dependencies]
|
|
titan = { path = "titan/titan" }
|
|
titan-derive = { path = "titan/titan-derive" }
|
|
logic = { path = "logic/logic" }
|
|
logic-derive = { path = "logic/logic-derive" }
|
|
service-rpc = { path = "services/service-rpc" }
|
|
auth-service = { path = "services/auth-service" }
|
|
game-service = { path = "services/game-service" }
|
|
gateway = { path = "services/gateway" }
|
|
|
|
tokio = { version = "1.45", features = ["rt-multi-thread", "macros", "net", "io-util", "sync", "time", "signal", "fs"] }
|
|
thiserror = "2"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
rand = "0.8"
|
|
async-trait = "0.1"
|
|
inventory = "0.3"
|
|
proc-macro2 = "1"
|
|
quote = "1"
|
|
syn = { version = "2", features = ["full", "extra-traits"] }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|