cargo-audit/0001-Skip-warnings.patch

77 lines
2.7 KiB
Diff
Raw Normal View History

From 645cfd950abf7c2fff6fc12915e7562439007b57 Mon Sep 17 00:00:00 2001
From: William Brown <william@blackhats.net.au>
Date: Tue, 7 Jan 2025 10:08:13 +1000
Subject: [PATCH] Skip warnings
---
admin/src/bin/rustsec-admin/main.rs | 2 +-
admin/src/lib.rs | 2 +-
admin/tests/acceptance.rs | 2 +-
cargo-audit/src/bin/cargo-audit/main.rs | 2 +-
cargo-audit/tests/acceptance.rs | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/admin/src/bin/rustsec-admin/main.rs b/admin/src/bin/rustsec-admin/main.rs
index 36d5912..eda0452 100644
--- a/admin/src/bin/rustsec-admin/main.rs
+++ b/admin/src/bin/rustsec-admin/main.rs
@@ -1,6 +1,6 @@
//! Main entry point for the `rustsec-admin` CLI application
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
#![forbid(unsafe_code)]
use rustsec_admin::application::APPLICATION;
diff --git a/admin/src/lib.rs b/admin/src/lib.rs
index 6f4b8ba..564de2e 100644
--- a/admin/src/lib.rs
+++ b/admin/src/lib.rs
@@ -2,7 +2,7 @@
//!
//! Administrative tool for the RustSec Advisory Database
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
#![forbid(unsafe_code)]
pub mod application;
diff --git a/admin/tests/acceptance.rs b/admin/tests/acceptance.rs
index f559e4c..594dda8 100644
--- a/admin/tests/acceptance.rs
+++ b/admin/tests/acceptance.rs
@@ -1,4 +1,4 @@
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
#![forbid(unsafe_code)]
use abscissa_core::testing::prelude::*;
diff --git a/cargo-audit/src/bin/cargo-audit/main.rs b/cargo-audit/src/bin/cargo-audit/main.rs
index 7f0c3c0..78ce4f3 100644
--- a/cargo-audit/src/bin/cargo-audit/main.rs
+++ b/cargo-audit/src/bin/cargo-audit/main.rs
@@ -1,6 +1,6 @@
//! Main entry point for `cargo audit`
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
#![forbid(unsafe_code)]
use cargo_audit::application::APP;
diff --git a/cargo-audit/tests/acceptance.rs b/cargo-audit/tests/acceptance.rs
index 96d5529..982f8f3 100644
--- a/cargo-audit/tests/acceptance.rs
+++ b/cargo-audit/tests/acceptance.rs
@@ -4,7 +4,7 @@
//! For more information, see:
//! <https://docs.rs/abscissa_core/latest/abscissa_core/testing/index.html>
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
#![forbid(unsafe_code)]
use abscissa_core::testing::prelude::*;
--
2.39.5 (Apple Git-154)