aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Govorov <me@govorov.online>2026-07-24 00:27:38 +0100
committerNikolay Govorov <me@govorov.online>2026-07-24 00:27:38 +0100
commit69a62b0217e237ffcd461192e4d128bd10f4d45c (patch)
tree101d7b4156f243b132e2b75b7eb627e35e3da3ed
parentacb812baa585300d062918599ed97068464488cc (diff)
downloadtar
tar.gz
tar.bz2
tar.lz
tar.xz
tar.zst
zip
Check cargo dependencies licenses for rust repos
Diffstat
-rw-r--r--README.md2+1 −1
-rwxr-xr-xtasks/licenses6+5 −1
2 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8c8706a..6e464e1 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ repository cannot grant itself an exemption.
## Licensing policy
`tasks/licenses` runs a pinned REUSE version and verifies the repository's
-licensing metadata.
+licensing metadata. In Rust projects it also runs a pinned `cargo deny check`.
## License
diff --git a/tasks/licenses b/tasks/licenses
index 17d7176..538826f 100755
--- a/tasks/licenses
+++ b/tasks/licenses
@@ -2,8 +2,12 @@
# SPDX-FileCopyrightText: 2026 Nikolay Govorov
# SPDX-License-Identifier: 0BSD
#MISE description="Verify repository licensing metadata"
-#MISE tools={"pipx:reuse"="6.2.0"}
+#MISE tools={"pipx:reuse"="6.2.0","aqua:EmbarkStudios/cargo-deny"="0.19.0"}
set -eu
reuse lint
+
+if [ -f Cargo.toml ]; then
+ cargo-deny check
+fi