Dereference workspace lints for nix-cargo-integration compatibility

Replace `[lints] workspace = true` with explicit lint configuration in
each crate's Cargo.toml. This allows nix-cargo-integration to build
individual crates in isolation, as it cannot resolve workspace-level
lint configuration when building crates independently.
This commit is contained in:
Robert Hensing 2025-12-16 03:06:58 +01:00
parent c4afb037ff
commit b78dd97051
5 changed files with 40 additions and 10 deletions

View file

@ -17,5 +17,11 @@ ctor = "0.2"
tempfile = "3.10"
cstr = "0.2"
[lints]
workspace = true
[lints.rust]
warnings = "deny"
dead-code = "allow"
[lints.clippy]
type-complexity = "allow"
# We're still trying to make Nix more thread-safe, want forward-compat
arc-with-non-send-sync = "allow"