From 99e3cc1649b5d958b222760ea654f9be78fcb127 Mon Sep 17 00:00:00 2001 From: dezoito Date: Sun, 24 Nov 2024 22:19:25 -0300 Subject: [PATCH] Adds audit.toml file --- src-tauri/Cargo.toml | 4 ---- src-tauri/audit.toml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 src-tauri/audit.toml diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index edbf966..a178061 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -39,7 +39,3 @@ opt-level = 3 [profile.release] lto = true - -[advisories] -RUSTSEC-2023-0071 = "allow" # RSA vulnerability -RUSTSEC-2024-0363 = "allow" # SQLx vulnerability diff --git a/src-tauri/audit.toml b/src-tauri/audit.toml new file mode 100644 index 0000000..2c6c60f --- /dev/null +++ b/src-tauri/audit.toml @@ -0,0 +1,13 @@ +[advisories] +ignore = [ + "RUSTSEC-2023-0071", # RSA vulnerability + "RUSTSEC-2024-0363", # SQLx vulnerability +] + +# Optionally, you can also ignore unmaintained warnings +[unmaintained] +ignore = [ + "RUSTSEC-2024-0388", # derivative + "RUSTSEC-2024-0384", # instant + "RUSTSEC-2024-0370", # proc-macro-error +]