about summary refs log tree commit diff
path: root/src/libstd
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/libstd
parenta784a80228c9eac3aa0fd86fc90887d5fa20c82e (diff)
downloadrust-08cd34e4fc062345dd20c018384b360cd57915b1.tar.gz
rust-08cd34e4fc062345dd20c018384b360cd57915b1.zip
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/libstd')
-rw-r--r--src/libstd/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/Cargo.toml b/src/libstd/Cargo.toml
index ad5d62f667a..5d797b75621 100644
--- a/src/libstd/Cargo.toml
+++ b/src/libstd/Cargo.toml
@@ -3,7 +3,7 @@ authors = ["The Rust Project Developers"]
 name = "std"
 version = "0.0.0"
 build = "build.rs"
-license = "MIT/Apache-2.0"
+license = "MIT OR Apache-2.0"
 repository = "https://github.com/rust-lang/rust.git"
 description = "The Rust Standard Library"
 edition = "2018"