Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include license files in published crates #118

Merged
merged 1 commit into from
Apr 6, 2024
Merged

include license files in published crates #118

merged 1 commit into from
Apr 6, 2024

Conversation

decathorpe
Copy link
Contributor

The MIT license requires that all redistributed sources contain a copy of the license text. It looks the fact that they are currently missing is a regression from when http-body and http-body-util were introduced as separate workspace members.

This PR adds symbolic links that point at the LICENSE file in the project root, which results in "cargo package" / "cargo publish" to include the file when publishing to crates.io.

If this PR is accepted, it would be great if new versions could be published to crates.io. It would make it easier for me to update the Fedora Linux RPM packages for these two crates in preparation for the upcoming hyper v1 upgrade.

Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

@seanmonstar seanmonstar enabled auto-merge (rebase) April 6, 2024 19:09
@seanmonstar seanmonstar merged commit 6a85548 into hyperium:master Apr 6, 2024
7 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