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 typed-builder-macro crate #141

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

decathorpe
Copy link
Contributor

Both the Apache-2.0 and MIT licenses require that (re)distributed sources contain a copy of the original license text. As of right now, the sources published and redistributed via crates.io for the typed-builder-macro crate do not contain license texts.

This PR adds symbolic links that point at the license texts in the project's root directory, which is enough for "cargo package" / "cargo publish" to resolve and include them when publishing to crates.io in most circumstances (unless you're running the "cargo publish" command on Windows, AFAIK).

@idanarye
Copy link
Owner

Any reason not to just copy the files? It's not like they are going to change...

@decathorpe
Copy link
Contributor Author

Any reason not to just copy the files? It's not like they are going to change...

Not really. Looking at other projects where multiple crates are published from the same repo, using symbolic links just seems to be the standard practice.

@idanarye idanarye merged commit b67a679 into idanarye:master Apr 16, 2024
9 checks passed
@decathorpe
Copy link
Contributor Author

Thank you!

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.

None yet

2 participants