diff --git a/Cargo.toml b/Cargo.toml index ac1126c7c..ea703cf87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,3 @@ debug = true [profile.release] debug = true - -[workspace.lints.rust] -# https://rust-fuzz.github.io/book/cargo-fuzz/guide.html#cfgfuzzing -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } diff --git a/quinn-proto/Cargo.toml b/quinn-proto/Cargo.toml index cac55ca83..eaabab3d8 100644 --- a/quinn-proto/Cargo.toml +++ b/quinn-proto/Cargo.toml @@ -43,5 +43,6 @@ rcgen = { workspace = true } tracing-subscriber = { workspace = true } lazy_static = "1" -[lints] -workspace = true +[lints.rust] +# https://rust-fuzz.github.io/book/cargo-fuzz/guide.html#cfgfuzzing +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } diff --git a/quinn-udp/Cargo.toml b/quinn-udp/Cargo.toml index 419c48664..f65d8ae38 100644 --- a/quinn-udp/Cargo.toml +++ b/quinn-udp/Cargo.toml @@ -35,6 +35,3 @@ criterion = "0.5" [target.'cfg(any(target_os = "linux", target_os = "windows"))'.bench] name = "throughput" harness = false - -[lints] -workspace = true diff --git a/quinn/Cargo.toml b/quinn/Cargo.toml index 9b7ab2c49..15838f84e 100644 --- a/quinn/Cargo.toml +++ b/quinn/Cargo.toml @@ -85,6 +85,3 @@ required-features = ["rustls"] name = "bench" harness = false required-features = ["rustls"] - -[lints] -workspace = true