about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-12-31 00:06:34 +0300
committerVika <vika@fireburn.ru>2024-12-31 00:06:34 +0300
commita18eb65b31676a7ee2a952437cc302265e5868da (patch)
tree1d408eb2cef88f9b50d636fd33030a3e1ed71faf
parent6300ccff4bb7f9e2e8167003fae51bec2561d82f (diff)
downloadkittybox-a18eb65b31676a7ee2a952437cc302265e5868da.tar.zst
ignore rsa false-positive via sqlx-mysql, since it's unused
Change-Id: Ic76cbc7f5343edad057b0eca121357c56d9c79ae
-rw-r--r--.cargo/audit.toml6
-rw-r--r--shell.nix3
2 files changed, 8 insertions, 1 deletions
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