소스 검색

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 10 달 전
부모
커밋
86e56ad162
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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 }