CI: check dependency licences with cargo-deny #599
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!599
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-599"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Kaairim on GitHub · 2026-11-24 02:19 UTC · original
Kaairim:cargo-deny→main· +46 −0 · 2 files · 1 commits · draftCONTRIBUTING.md asks for GPL-2.0-compatible dependencies, but nothing checks it. This adds
deny.tomland a CI job (EmbarkStudios/cargo-deny-action@v2,check licenses sources) on ubuntu – it reads Cargo.lock and crate metadata and builds nothing.The allow list is THIRD_PARTY.md's "When adding dependencies" list (MIT, BSD, Zlib, ISC, Unlicense, LGPL-2.1, GPL-2.0, MPL-2.0) plus Unicode-3.0, which unicode-ident needs today (THIRD_PARTY.md's crate line does not name it yet). Apache-2.0 alone is not allowed; "MIT OR Apache-2.0" passes through MIT. Sources: crates.io only.
What is in it
deny.toml.github/workflows/ci.yml: alicencesjob next to the Windows buildTested
retouris BSD-2-Clause,unicode-identis (MIT OR Apache-2.0) AND Unicode-3.0)Not tested
AI use
Improvements by William "kaairim" Deivid (wdcore).
🤖 Generated with Claude Code
github-bot referenced this pull request2026-11-26 04:59:09 +00:00
@throny on GitHub · 2026-11-24 20:15 UTC · original
Two contributors checked independently and found that #276 solves the same problem (for #265) in a different way: #1607, group D37. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.
This is a hint, not a request from the maintainers; nobody from the project has adopted #1607 so far.
AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
@DavidM1911 on GitHub · 2026-11-25 13:06 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.