From a18eb65b31676a7ee2a952437cc302265e5868da Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 31 Dec 2024 00:06:34 +0300 Subject: ignore rsa false-positive via sqlx-mysql, since it's unused Change-Id: Ic76cbc7f5343edad057b0eca121357c56d9c79ae --- .cargo/audit.toml | 6 ++++++ shell.nix | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .cargo/audit.toml diff --git a/.cargo/audit.toml b/.cargo/audit.toml new file mode 100644 index 0000000..f87ce8f --- /dev/null +++ b/.cargo/audit.toml @@ -0,0 +1,6 @@ +[advisories] +ignore = [ + "RUSTSEC-2023-0071" # via sqlx-mysql, which is disabled via a feature +] # advisory IDs to ignore e.g. ["RUSTSEC-2019-0001", ...] + +informational_warnings = ["unmaintained"] \ No newline at end of file diff --git a/shell.nix b/shell.nix index ce3991f..6979e89 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,6 @@ { mkShell, rustc, cargo, rust-analyzer, clippy, rustfmt , cargo-watch, cargo-edit, cargo-outdated -, cargo-crev, cargo-audit +, cargo-crev, cargo-audit, cargo-whatfeatures , xh, systemfd, tokio-console, sqlx-cli , pkg-config, protobuf, openssl , nodePackages, caddy @@ -12,6 +12,7 @@ mkShell { rustc cargo rust-analyzer clippy rustfmt cargo-watch cargo-edit cargo-outdated cargo-crev cargo-audit sqlx-cli + cargo-whatfeatures xh systemfd caddy # protobuf is required for tokio-console's console-subscriber #tokio-console protobuf -- cgit 1.4.1