Repository navigation
chore(deps): add deny.toml (licence policy) and versioned path deps - #525
Merged
Merged
Conversation
Adds the cargo-deny licence/bans/sources policy the estate rust-ci reusable switches on when deny.toml exists. Allowlist is the permissive set present in Cargo.lock at adoption; copyleft is absent. Path deps on typed-wasm and echidna-core gain the version each crate declares so the wildcard ban passes without relaxing it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkqCNUotDR2GTtx8G3
hyperpolymath
marked this pull request as ready for review
November 19, 2026 11:24
|
hyperpolymath
enabled auto-merge (rebase)
November 19, 2026 11:51
auto-merge was automatically disabled
November 19, 2026 11:54
Branch protection rule check failed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
PR 3 of the rust-ci migration scoping. The estate reusable
rust-ci.yml(proven-cicd-and-workflows@5b6024c) runscargo deny check advisories bans sourcesalways and addslicensesonly whendeny.tomlexists, because licence policy is owner-authored. This adds that file. Echidna's own CI does not run cargo-deny today, so merging this changes no CI result until the migration lands.The licence allowlist is a draft for owner review: it is the permissive set found in
Cargo.lockat adoption, not a ruling.Changes
deny.toml(new):[licenses]allowlist (Apache-2.0 incl. LLVM-exception, BSD-2/3, BSL-1.0, CC0-1.0, CDLA-Permissive-2.0, ISC, MIT, MIT-0, MPL-2.0, Unicode-3.0, Unlicense, Zlib);[bans]multiple-versions = "warn",wildcards = "deny";[sources]crates.io only, no git.Cargo.toml:typed-wasmandechidna-corepath deps gainversion = "0.1.0"/"0.2.0"(what those crates declare). cargo-deny's wildcard ban otherwise errors on them becauseechidnais notpublish = false. No lockfile change.Owner decisions
CDLA-Permissive-2.0(webpki-roots CA data).r-efiisMIT OR Apache-2.0 OR LGPL-2.1-or-laterand passes through its MIT arm.echidnapublish = false, or setwildcards = "warn". I chose the version requirements to fix it at the source.Verification
Run locally with cargo-deny 0.20.2 using the reusable's exact flags (
--all-features --locked,--warn unmaintained --warn yanked):check advisories bans sources: exit 0check licenses: exit 0MITfrom the allowlist makescheck licensesexit 4.cargo check --locked --workspace --all-targets: pass.Advisory note, not a failure: cargo-deny warns
chrono is unmaintained(RustSec). It is a warning under--warn unmaintained; noignoreentry was added.RSR Quality Checklist
Required
.envfiles includedGenerated by Claude Code