From 40bcfe4a13e8820258eddf5d7ee195fbf75db252 Mon Sep 17 00:00:00 2001 From: ddidderr Date: Thu, 13 Mar 2025 23:08:32 +0100 Subject: [PATCH] [clippy] add lints --- Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4b14d22..b5f27d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,16 @@ name = "linkspeed" version = "0.1.0" edition = "2024" +[lints.rust] +unsafe_code = "forbid" + +[lints.clippy] +similar_names = "allow" + +pedantic = { level = "warn", priority = -1 } +todo = "warn" +unwrap_used = "warn" + [dependencies] eyre = "0.6"