Skip to content

include LICENSE file in published crates #118

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

Merged
merged 1 commit into from
Jun 25, 2024
Merged

include LICENSE file in published crates #118

merged 1 commit into from
Jun 25, 2024

Conversation

decathorpe
Copy link
Contributor

The Zlib license requires that redistributed sources contain a copy of the license text. This is currently not the case for zlib-rs and libz-rs-sys crates as published and redistributed via crates.io.

This PR adds symbolic links that point to the LICENSE file at the project root to both crates. This causes cargo to include the file when running cargo publish or cargo package.

Note that this might not work correctly when running cargo package or cargo publish on an operating system that does not support symbolic links (Windows).

@folkertdev folkertdev merged commit 5eae590 into trifectatechfoundation:main Jun 25, 2024
13 checks passed
@folkertdev
Copy link
Collaborator

thanks!

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