ci: check dependency licences with cargo-deny on every pull request

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-15 13:24:45 -04:00
1 parent e3d42d8be1
commit e85300234f
4 files changed
+24 -14665

No files matched your search

+22 -1
View File
@@ -1,4 +1,3 @@
# Licences are covered by `cargo xtask licences --check`.
[advisories]
unmaintained = "all"
yanked = "warn"
@@ -15,3 +14,25 @@ allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# SolidCraft's kernel and its patched truck crates, pinned by rev in Cargo.toml.
# storytold/craft-libs: the Craft family's shared UI components (craft-ui), pinned by rev.
allow-git = ["https://github.com/bherbruck/solidcraft", "https://github.com/storytold/craft-libs"]
# What FieldCraft may ship: permissive licences only (no copyleft). A crate offering
# a choice (MIT OR LGPL) passes on its permissive option. THIRD-PARTY-LICENSES.txt is generated at
# release time (`cargo xtask licences`); this is the policy every pull request is held to.
[licenses]
confidence-threshold = 0.9
allow = [
"0BSD",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0",
"CDLA-Permissive-2.0",
"ISC",
"MIT",
"OFL-1.1",
"Ubuntu-font-1.0",
"Unicode-3.0",
"Unlicense",
"Zlib",
]