diff --git a/crates/wincolor/Cargo.toml b/crates/wincolor/Cargo.toml index d7b1c6e8df..8cf4739a11 100644 --- a/crates/wincolor/Cargo.toml +++ b/crates/wincolor/Cargo.toml @@ -5,15 +5,11 @@ edition.workspace = true license.workspace = true description = "LightCraft wincolor (L0): the colour profile Windows assigns to the monitor showing a window. One of the two crates allowed `unsafe` (Win32 calls)." -# Opts out of the workspace lints only to keep `unsafe_code = "deny"` overridable for the Win32 -# module below, as `crates/sysmem` does; every other crate root has `#![forbid(unsafe_code)]`. See +# The workspace lints: they deny `unsafe_code` (deny, not forbid), which the `win32` module in +# src/lib.rs allows for its Win32 calls; every other crate root has `#![forbid(unsafe_code)]`. See # AGENTS.md and craftrules standards/never-crash.md ("isolated helper library crate"). -[lints.rust] -unsafe_code = "deny" - -[lints.clippy] -dbg_macro = "warn" -todo = "warn" +[lints] +workspace = true [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.61", features = [