Skip to content

Commit

Permalink
Don't define lints workspace-wide
Browse files Browse the repository at this point in the history
This seems to break publishing on crates.io.
  • Loading branch information
Ralith authored and djc committed Aug 4, 2024
1 parent b3f1493 commit 476f50a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }
5 changes: 3 additions & 2 deletions quinn-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }
3 changes: 0 additions & 3 deletions quinn-udp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ criterion = "0.5"
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.bench]
name = "throughput"
harness = false

[lints]
workspace = true
3 changes: 0 additions & 3 deletions quinn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,3 @@ required-features = ["rustls"]
name = "bench"
harness = false
required-features = ["rustls"]

[lints]
workspace = true

0 comments on commit 476f50a

Please sign in to comment.