about summary refs log tree commit diff
path: root/src/tools/rustbook
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-05-09 15:37:37 -0700
committerDavid Tolnay <dtolnay@gmail.com>2019-05-09 15:40:01 -0700
commit08cd34e4fc062345dd20c018384b360cd57915b1 (patch)
treed284ef0cb2b061b3b839429589f716b597daae8f /src/tools/rustbook
parenta784a80228c9eac3aa0fd86fc90887d5fa20c82e (diff)
Switch to SPDX 2.1 license expression
According to the Cargo Reference:
https://doc.rust-lang.org/cargo/reference/manifest.html

> This is an SPDX 2.1 license expression for this package. Currently
> crates.io will validate the license provided against a whitelist of
> known license and exception identifiers from the SPDX license list
> 2.4. Parentheses are not currently supported.
>
> Multiple licenses can be separated with a `/`, although that usage
> is deprecated. Instead, use a license expression with AND and OR
> operators to get more explicit semantics.
Diffstat (limited to 'src/tools/rustbook')
-rw-r--r--src/tools/rustbook/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rustbook/Cargo.toml b/src/tools/rustbook/Cargo.toml
index 5bf1553b227..d2b1a7bac60 100644
--- a/src/tools/rustbook/Cargo.toml
+++ b/src/tools/rustbook/Cargo.toml
@@ -2,7 +2,7 @@
 authors = ["The Rust Project Developers"]
 name = "rustbook"
 version = "0.1.0"
-license = "MIT/Apache-2.0"
+license = "MIT OR Apache-2.0"
 edition = "2018"
 
 [dependencies]