aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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