clippy: add same lints to all crates

This commit is contained in:
2025-08-17 16:12:42 +02:00
parent cbad9389ee
commit 61a41c7122
3 changed files with 24 additions and 0 deletions

View File

@@ -3,6 +3,14 @@ name = "lanspread-compat"
version = "0.1.0"
edition = "2024"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
todo = "warn"
unwrap_used = "warn"
[dependencies]
# local
lanspread-db = { path = "../lanspread-db" }

View File

@@ -3,6 +3,14 @@ name = "lanspread-mdns"
version = "0.1.0"
edition = "2024"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
todo = "warn"
unwrap_used = "warn"
[dependencies]
mdns-sd = { workspace = true }
eyre = { workspace = true }

View File

@@ -14,6 +14,14 @@ edition = "2024"
name = "lanspread_tauri_deno_ts_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
todo = "warn"
unwrap_used = "warn"
[build-dependencies]
tauri-build = { version = "2", features = [] }