diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-12-04 14:15:59 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-12-05 15:47:10 +0100 |
commit | 8e60f7124212438f3ec2c916aa6a6f15a48a0b91 (patch) | |
tree | b703ce409ce49f1c01c50d6b4ccce72de1a851fc | |
parent | 2d96c99a64d2662873d76fbd871c65d14363deb3 (diff) |
Remove -Dwarnings from cargo configuration.
- Denying all warnings means turning deprecation warnings into hard
errors, which turns semver-compatible updates of our dependencies
into compilation breaking updates if some functionality we use is
deprecated. This defeats the sole purpose of deprecating APIs.
- See https://gitlab.com/sequoia-pgp/sequoia/-/issues/827
-rw-r--r-- | .cargo/config.toml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index fc7b9476..f422491e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,7 +2,6 @@ # Note: if the RUSTFLAGS environment variable is set, this will be # ignored. rustflags = [ - "-Dwarnings", "-Aunused-parens", "-Aclippy::all", "-Dclippy::correctness", |