summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2023-12-04 14:15:59 +0100
committerJustus Winter <justus@sequoia-pgp.org>2023-12-05 15:47:10 +0100
commit8e60f7124212438f3ec2c916aa6a6f15a48a0b91 (patch)
treeb703ce409ce49f1c01c50d6b4ccce72de1a851fc
parent2d96c99a64d2662873d76fbd871c65d14363deb3 (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.toml1
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",