Commit 50598d9
committed
Publish with
Specifying a `license-file` field informs crates.io that this crate is
under a non-standard license[1], and it publishes the package as
such[2]. Specifying the license with the `license` field allows
crates.io to expose the actual license information, which allows this
project to be used in certain corporations with automatic license
checking. See pyo3 as an example[3][4].
[1] https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
[2] https://crates.io/api/v1/crates/numpy/0.13.1
[3] https://crates.io/api/v1/crates/pyo3/0.13.2
[4] https://github.com/PyO3/pyo3/blob/v0.13.2/Cargo.toml#L12license field instead of license-file
1 parent bebf608 commit 50598d9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments