Skip to content

Include license files in packages#2470

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
jwodder:include-licenses
Mar 31, 2026
Merged

Include license files in packages#2470
alexcrichton merged 1 commit intobytecodealliance:mainfrom
jwodder:include-licenses

Conversation

@jwodder
Copy link
Copy Markdown
Contributor

@jwodder jwodder commented Mar 31, 2026

The packages under crates/ currently do not include the project's license files when built & released on crates.io. This is a problem for programs like cargo-bundle-licenses that inspect crates for licensing information.

This PR fixes this by adding symlinks to the root licenses in each of the package directories. cargo release will replace the symlinks with the actual license file contents when releasing.

@jwodder jwodder requested a review from a team as a code owner March 31, 2026 15:45
@jwodder jwodder requested review from alexcrichton and removed request for a team March 31, 2026 15:46
@alexcrichton alexcrichton added this pull request to the merge queue Mar 31, 2026
Merged via the queue into bytecodealliance:main with commit 70d6683 Mar 31, 2026
37 checks passed
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.

2 participants