[workspace] members = [ "smith", "smith-core", "smith-ai", "smith-tui", "smith-harness", "smith-cli", "xtask", ] resolver = "3" [workspace.package] edition = "2024" version = "0.1.0" license = "Apache-2.0" # The lint wall. It lives here, not in .cargo/config.toml rustflags, because a # [target.*] rustflags key REPLACES [build].rustflags rather than merging — so a # per-target stanza silently disabled every lint below for that target alone. # Cargo lint tables are per-crate and target-independent, and they apply only to # workspace crates rather than leaking -D warnings into dependencies. [workspace.lints.rust] warnings = "deny" missing_docs = "deny" [workspace.lints.clippy] all = { level = "deny", priority = -1 } pedantic = { level = "deny", priority = -1 } nursery = { level = "warn", priority = -1 } suspicious = { level = "deny", priority = -1 } complexity = { level = "deny", priority = -1 } perf = { level = "deny", priority = -1 } style = { level = "deny", priority = -1 } correctness = { level = "deny", priority = -1 } unwrap_used = "deny" expect_used = "deny" panic = "deny" todo = "deny" unimplemented = "deny" print_stdout = "deny" print_stderr = "deny" [workspace.lints.rustdoc] missing_crate_level_docs = "deny" broken_intra_doc_links = "deny" invalid_html_tags = "warn" bare_urls = "warn" # Mandated verbatim by SPEC §3 and PROJECT-INVARIANTS §8a. No debug info in # release builds; debug symbols come only from the default dev profile. [profile.release] opt-level = 3 lto = "thin" codegen-units = 1 strip = "symbols" panic = "abort" [profile.release.package."*"] opt-level = 3