build: allow to switch async runtime

This commit is contained in:
mokurin000
2025-07-30 17:55:19 +08:00
parent 7670e6f3ae
commit 19a0d53624
9 changed files with 517 additions and 22 deletions

View File

@@ -3,11 +3,13 @@ members = ["sdgb-api", "sdgb-cli"]
resolver = "3"
[workspace.dependencies]
sdgb-api = { path = "./sdgb-api" }
sdgb-api = { path = "./sdgb-api", default-features = false }
snafu = { version = "0.8.6", features = ["backtrace", "rust_1_81"] }
serde_json = "1.0.141"
strum = { version = "0.27.2", features = ["derive"] }
tokio = { version = "1", features = ["rt-multi-thread"] }
compio = { version = "0.15.0", features = ["runtime"] }
[profile.release]
lto = true