about summary refs log tree commit diff
diff options
context:
space:
mode:
-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