From b3be09165a4abdb3dc54034e79ae76fc43abba7c Mon Sep 17 00:00:00 2001 From: kiron1 Date: Sun, 18 Aug 2024 12:24:44 +0800 Subject: [PATCH] proxydetox: Fix cfg lint --- proxydetox/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxydetox/Cargo.toml b/proxydetox/Cargo.toml index 73579672..06ba4ee4 100644 --- a/proxydetox/Cargo.toml +++ b/proxydetox/Cargo.toml @@ -8,6 +8,9 @@ homepage.workspace = true default = ["negotiate"] negotiate = ["detox_auth/negotiate", "proxydetoxlib/negotiate"] +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(static_library)'] } + [dependencies] clap.workspace = true detox_auth.workspace = true