[workspace]
resolver = "2"
members = [
    "crates/cube-core",
    "apps/cube",
    "apps/simpleasm",
    "apps/music",
    "apps/werewolf",
    "apps/articulate",
    "apps/karaoke",
    "apps/notes",
    "apps/llm-proxy",
]

[workspace.package]
edition = "2021"
license = "MIT"
authors = ["Fam Zheng <fam@euphon.net>"]

[workspace.dependencies]
axum = "0.7"
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["fs", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rusqlite = { version = "0.32", features = ["bundled"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream", "multipart"] }
futures = "0.3"
tokio-stream = "0.1"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"
