diff --git a/nix-bindings-expr/Cargo.toml b/nix-bindings-expr/Cargo.toml index 1c1dfe0..044e70a 100644 --- a/nix-bindings-expr/Cargo.toml +++ b/nix-bindings-expr/Cargo.toml @@ -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" diff --git a/nix-bindings-fetchers/Cargo.toml b/nix-bindings-fetchers/Cargo.toml index e8b2787..6cbb103 100644 --- a/nix-bindings-fetchers/Cargo.toml +++ b/nix-bindings-fetchers/Cargo.toml @@ -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" diff --git a/nix-bindings-flake/Cargo.toml b/nix-bindings-flake/Cargo.toml index 67905cb..3606a7c 100644 --- a/nix-bindings-flake/Cargo.toml +++ b/nix-bindings-flake/Cargo.toml @@ -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" diff --git a/nix-bindings-store/Cargo.toml b/nix-bindings-store/Cargo.toml index 60cf958..f3d7211 100644 --- a/nix-bindings-store/Cargo.toml +++ b/nix-bindings-store/Cargo.toml @@ -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" diff --git a/nix-bindings-util/Cargo.toml b/nix-bindings-util/Cargo.toml index dfa6863..9242e99 100644 --- a/nix-bindings-util/Cargo.toml +++ b/nix-bindings-util/Cargo.toml @@ -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"