style: propagate clippy lints throughout workspace

This commit is contained in:
MultisampledNight 2024-01-11 11:39:59 +01:00
commit 8f3c426359
No known key found for this signature in database
GPG key ID: 6D525AA147CBDAE2
4 changed files with 11 additions and 1 deletions

View file

@ -10,6 +10,10 @@ resolver = "2"
clap = { version = "4", features = [ "derive" ] }
serde = { version = "1.0", features = [ "derive" ] }
# to enable all the lints below, this must be present in a workspace member's Cargo.toml:
# [lints]
# workspace = true
[workspace.lints.rust]
unsafe_code = "deny"
variant_size_differences = "warn"