From f984415fb6cede1142f5beb9df8996e318e50bd8 Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Tue, 30 Sep 2025 07:56:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(config):=20update=20Cargo.?= =?UTF-8?q?toml=20with=20lints=20and=20library=20settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add clippy lints for format args and unnecessary semicolon - allow dead-code lint temporarily for development - specify library and binary paths for project structure --- Cargo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d68d9a9..959ee69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,3 +22,18 @@ include = [ ] [dependencies] + +[lints.clippy] +uninlined-format-args = "warn" +unnecessary_semicolon = "warn" + +[lints.rust] +dead-code = "allow" # allow temporarily while developing initial code + +[lib] +name = "cull_gmail" +path = "src/lib.rs" + +[[bin]] +name = "cull-gmail" +path = "src/main.rs"