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

@@ -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 = [] }