[package] name = "new-stack-backend" version.workspace = true authors.workspace = true edition.workspace = true rust-version.workspace = true publish = false [[bin]] name = "web" path = "src/bin/web.rs" [workspace] members = [ "crates/domain", "crates/application", "crates/db", "crates/http", "crates/infrastructure" ] [workspace.package] authors = ["Richard K. Schultz "] version = "0.0.0" edition = "2021" rust-version = "1.81.0" [dependencies] infrastructure = "=0.0.0" anyhow = "1.0.94" tokio = { version = "1.40", features = ["full"] } [patch.crates-io] db = { path = "crates/db" } http = { path = "crates/http" } application = { path = "crates/application" } domain = { path = "crates/domain" } infrastructure = { path = "crates/infrastructure" } [profile.release] lto = true opt-level = 3 codegen-units = 1 strip = true