Skip to content

Commit

Permalink
Explicitly specify license in Cargo.toml (#23)
Browse files Browse the repository at this point in the history
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_silk) and the [Bevy
Assets page](https://bevyengine.org/assets/#physics).
  • Loading branch information
TimJentzsch authored Jan 13, 2024
1 parent 0ef2a3e commit 3121452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.7.0"
edition = "2021"
authors = ["Felix de Maneville <felix.maneville@gmail.com>"]
repository = "https://github.com/ManevilleF/bevy_silk"
license-file = "./LICENSE"
license = "MIT"
exclude = ["docs", "assets", ".github"]
description = "Cloth physics implementation in bevy"
keywords = ["verlet", "physics", "bevy", "cloth"]
Expand Down

0 comments on commit 3121452

Please sign in to comment.