From 620219e18e81b76eef8789c6125edf919d68b84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20S=C3=A1lyi?= Date: Sat, 31 May 2025 09:55:15 +0200 Subject: [PATCH] Set some rust and clippy lints in Cargo.toml --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ab4f5a1..c726e73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,3 +37,9 @@ features = ["bmp", "dds", "exr", "ff", "gif", "hdr", "ico", "jpeg", "png", "pnm" [features] default = [] avif = ["image/avif-native"] + +[lints.rust] +unused_must_use = "deny" + +[lints.clippy] +uninlined_format_args = "allow"