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

Explicitly specify license in Cargo.toml #23

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

TimJentzsch
Copy link
Contributor

@TimJentzsch TimJentzsch commented Jan 13, 2024

In the docs for the Cargo manifest format, the use of license-file is only recommended for non-standard licenses. For standard licenses such as MIT, it should be specified in the license field explicitly.

This change makes it easier for tools to correctly identify the license. For example, right now the license is identified as non-standard on both crates.io and the Bevy Assets page.

In the [docs for the Cargo manifest format](https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields), the use of `license-file` is only recommended for non-standard licenses. For standard licenses such as MIT, it should be specified in the `license` field explicitly.

This change makes it easier for tools to correctly identify the license. For example, right now the license is identified as `non-standard` on both [crates.io](https://crates.io/crates/bevy-settings) and the [Bevy Assets page](https://bevyengine.org/assets/#persistence).
@ManevilleF
Copy link
Owner

Thanks for noticing this

@ManevilleF ManevilleF merged commit 3121452 into ManevilleF:main Jan 13, 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