-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Turn on more clippy lints, and fix the warnings (#1956)
* chore: Turn on more clippy lints, and fix the warnings * Fixes * Fixes * Fixes * Update neqo-transport/src/addr_valid.rs Co-authored-by: Martin Thomson <[email protected]> Signed-off-by: Lars Eggert <[email protected]> * Suggestions from @martinthomson * More from @martinthomson * More from @martinthomson * And more * Fixes after rebase * Better Cubic fix * let _ -> _ * Add reason to `#[allow(clippy::mutable_key_type)]` * fmt --------- Signed-off-by: Lars Eggert <[email protected]> Co-authored-by: Martin Thomson <[email protected]>
- Loading branch information
1 parent
34a5126
commit c209c43
Showing
140 changed files
with
1,399 additions
and
1,450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,10 @@ resolver = "2" | |
homepage = "https://github.com/mozilla/neqo/" | ||
repository = "https://github.com/mozilla/neqo/" | ||
authors = ["The Neqo Authors <[email protected]>"] | ||
description = "Neqo, the Mozilla implementation of QUIC in Rust." | ||
keywords = ["quic", "http3", "neqo", "mozilla", "ietf", "firefox"] | ||
categories = ["network-programming", "web-programming"] | ||
readme = "README.md" | ||
version = "0.7.9" | ||
# Keep in sync with `.rustfmt.toml` `edition`. | ||
edition = "2021" | ||
|
@@ -30,7 +34,10 @@ log = { version = "0.4", default-features = false } | |
qlog = { version = "0.13", default-features = false } | ||
|
||
[workspace.lints.clippy] | ||
cargo = { level = "warn", priority = -1 } | ||
nursery = { level = "warn", priority = -1 } | ||
pedantic = { level = "warn", priority = -1 } | ||
multiple_crate_versions = "allow" | ||
|
||
[profile.release] | ||
lto = "fat" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.