From 1ecdc48efdfa5ad929964b97522e1e1077e4728e Mon Sep 17 00:00:00 2001 From: dswij Date: Sat, 8 Jun 2024 17:31:46 +0800 Subject: [PATCH] fix: unexpected cfgs --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index cf0b1d70..55dcc3ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,3 +75,7 @@ features = ["stream"] [[bench]] name = "main" harness = false + +[lints.rust.unexpected_cfgs] +level = "warn" +check-cfg = ["cfg(fuzzing)"]