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:
parent
c4afb037ff
commit
b78dd97051
5 changed files with 40 additions and 10 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -16,5 +16,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"
|
||||
|
|
|
|||
|
|
@ -19,5 +19,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"
|
||||
|
|
|
|||
|
|
@ -23,5 +23,11 @@ pkg-config = "0.3"
|
|||
# Needed for version parsing in build.rs
|
||||
nix-bindings-util = { path = "../nix-bindings-util" }
|
||||
|
||||
[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"
|
||||
|
|
|
|||
|
|
@ -12,5 +12,11 @@ anyhow = "1.0"
|
|||
nix-bindings-bindgen-raw = { path = "../nix-bindings-bindgen-raw" }
|
||||
ctor = "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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue