Skip to content

fix: keep only the SPDX license field - #321

Merged
AlfioEmanueleFresta merged 1 commit into
masterfrom
fix/license-field
Oct 24, 2026
Merged

AlfioEmanueleFresta merged 1 commit into
masterfrom
fix/license-field

Conversation

@AlfioEmanueleFresta

Copy link
Copy Markdown
Member

Cargo warns when a manifest sets both license and license-file. We keep the SPDX license, which crates.io and distro packaging read, and drop license-file. A COPYING symlink keeps the license text in the published crate.

Supersedes #306 by @abergmeier.

Cargo warns when both license and license-file are set. Keep the SPDX
license, which crates.io and distro tooling read, and symlink COPYING
into the package so the license text still ships in the crate.
@AlfioEmanueleFresta
AlfioEmanueleFresta marked this pull request as ready for review October 24, 2026 22:21
@AlfioEmanueleFresta
AlfioEmanueleFresta merged commit d71fb7c into master Oct 24, 2026
6 checks passed
@AlfioEmanueleFresta
AlfioEmanueleFresta deleted the fix/license-field branch October 24, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant