Browse Source

Remove warning for `fuzzing` feature

The warning is added in 1.80.0, but can be disabled by updating the
Cargo.toml file.
Thibaut Vandervelden 7 months ago
parent
commit
86e56ad162
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Cargo.toml

+ 3 - 0
Cargo.toml

@@ -16,6 +16,9 @@ license = "0BSD"
 # ensure that the correct features are enabled.
 autoexamples = false
 
+[lints.rust]
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
+
 [dependencies]
 managed = { version = "0.8", default-features = false, features = ["map"] }
 byteorder = { version = "1.0", default-features = false }