[workspace] resolver = "3" members = ["crates/pipdock-core", "crates/pipdock-cli", "src-tauri", "xtask"] [workspace.package] version = "1.6.0" edition = "2024" rust-version = "1.99" license = "GPL-3.0-only" repository = "https://github.com/poli0981org/pipdock" authors = ["Kokone (poli0981)"] # Applications, not libraries: nothing here belongs on crates.io, and cargo-deny treats a # publishable crate's licence and path dependencies as a published one's (deny.toml). publish = false [workspace.lints.rust] unsafe_code = "forbid" [workspace.lints.clippy] # The five hard invariants in CLAUDE.md are about *not* taking shortcuts around # the engine. These lints are the mechanical half of enforcing that. # Flipped 2026-08-13, once the last `todo!()` went with the dead `uv::parse_dry_run`. # A `todo!()` is a panic with a promise attached, and the promise is the part that expires. todo = "warn" dbg_macro = "deny" print_stdout = "deny" # core is a library: emit events, never println unwrap_used = "deny" expect_used = "deny" [profile.release] strip = true lto = true codegen-units = 1