Skip to content

Commit eb9e7f2

Browse files
committed
update SPDX License info
* link to latest license info * update link for further info to main spdx page * Update src/doc/src/reference/manifest.md * point directly at expression syntax Co-authored-by: Weihang Lo <[email protected]> update license list
1 parent 0b6cc3c commit eb9e7f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: src/doc/src/reference/manifest.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ The `license` field contains the name of the software license that the package
258258
is released under. The `license-file` field contains the path to a file
259259
containing the text of the license (relative to this `Cargo.toml`).
260260

261-
[crates.io] interprets the `license` field as an [SPDX 2.1 license
262-
expression][spdx-2.1-license-expressions]. The name must be a known license
263-
from the [SPDX license list 3.11][spdx-license-list-3.11]. Parentheses are not
261+
[crates.io] interprets the `license` field as an [SPDX 2.3 license
262+
expression][spdx-2.3-license-expressions]. The name must be a known license
263+
from the [SPDX license list 3.20][spdx-license-list-3.20]. Parentheses are not
264264
currently supported. See the [SPDX site] for more information.
265265

266266
SPDX license expressions support AND and OR operators to combine multiple
@@ -628,9 +628,9 @@ more detail.
628628
[docs.rs]: https://docs.rs/
629629
[publishing]: publishing.md
630630
[Rust Edition]: ../../edition-guide/index.html
631-
[spdx-2.1-license-expressions]: https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60
632-
[spdx-license-list-3.11]: https://github.com/spdx/license-list-data/tree/v3.11
633-
[SPDX site]: https://spdx.org/license-list
631+
[spdx-2.3-license-expressions]: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/
632+
[spdx-license-list-3.20]: https://github.com/spdx/license-list-data/tree/v3.20
633+
[SPDX site]: https://spdx.org
634634
[TOML]: https://toml.io/
635635

636636
<script>

0 commit comments

Comments
 (0)