diff --git a/Cargo.toml b/Cargo.toml index 9d975d8..f9bf4ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,6 @@ std = [] # Enable the implementation of the map Key trait for ArrayVec and ArrayString arrayvec = ["dep:arrayvec"] _test = ["dep:futures", "dep:approx", "std", "arrayvec"] + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing_repro)'] } diff --git a/build.rs b/build.rs deleted file mode 100644 index f5e0358..0000000 --- a/build.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - println!("cargo::rustc-check-cfg=cfg(fuzzing_repro)"); -}