From cf59aa1c0f71c64a4261247e08b2ce6b633ad8d9 Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Sun, 6 Jun 2021 20:17:11 +0530 Subject: [PATCH] Create cargo-audit file --- .cargo/audit.toml | 2 ++ Makefile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .cargo/audit.toml diff --git a/.cargo/audit.toml b/.cargo/audit.toml new file mode 100644 index 0000000..69f3b0f --- /dev/null +++ b/.cargo/audit.toml @@ -0,0 +1,2 @@ +[advisories] +ignore = ["RUSTSEC-2020-0095"] diff --git a/Makefile b/Makefile index 3f5b180..a45c1b0 100644 --- a/Makefile +++ b/Makefile @@ -25,14 +25,14 @@ test: nix-shell --pure --run 'cargo check --all-features $(ci_color_always)' nix-shell --pure --run 'cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all' nix-shell --pure --run 'cargo test --all-features --no-fail-fast $(ci_color_always)' - nix-shell --pure --run 'cargo audit --deny warnings $(ci_color_always) --ignore=RUSTSEC-2020-0095' + nix-shell --pure --run 'cargo audit --deny warnings $(ci_color_always)' else test: cargo fmt -- --check --files-with-diff $(ci_color_always) cargo check --all-features $(ci_color_always) cargo clippy --all-features $(ci_color_always) -- --deny warnings --deny clippy::all cargo test --no-fail-fast $(ci_color_always) - cargo audit --deny warnings $(ci_color_always) --ignore=RUSTSEC-2020-0095 + cargo audit --deny warnings $(ci_color_always) endif uninstall: