From 4986a073be4f9092d43f62ea64b59878ee16e306 Mon Sep 17 00:00:00 2001 From: Allan Rasmussen Date: Tue, 9 Dec 2025 23:50:31 +0100 Subject: [PATCH] cargo deny config --- deny.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 deny.toml diff --git a/deny.toml b/deny.toml new file mode 100644 index 000000000..f8ac866f9 --- /dev/null +++ b/deny.toml @@ -0,0 +1,22 @@ +# Cargo deny configuration for the repo. +# Currently, we only check advisories - with the command `cargo deny check advisories` + +# The graph table configures how the dependency graph is constructed and thus +# which crates the checks are performed against +[graph] +all-features = true + +# This section is considered when running `cargo deny check advisories` +# More documentation for the advisories section can be found here: +# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html +[advisories] +unmaintained = "workspace" +ignore = [ + #{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" }, +] + +# This section is considered when running `cargo deny check bans`. +# More documentation about the 'bans' section can be found here: +# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html +[bans] +multiple-versions = "allow"