Skip to content

Commit a06fd8d

Browse files
committed
Fix Cargo warning on latest Rust versions about custom cfg flags
1 parent 4b22c17 commit a06fd8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ async = ["futures-core", "futures-io", "tokio", "tokio-util", "bytes", "pin-proj
3434
[package.metadata.docs.rs]
3535
all-features = true
3636
rustdoc-args = ["--cfg", "docsrs"]
37+
38+
[lints.rust]
39+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }

0 commit comments

Comments
 (0)