Use OR operator in Cargo.toml license field

The use of `/` is deprecated, per the Cargo reference:
https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
This commit is contained in:
Kevin Ji 2023-08-17 22:38:21 -07:00 committed by Yacin Tmimi
parent e480739e56
commit 16db2a4be2
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ version = "1.6.0"
description = "Tool to find and fix Rust formatting issues" description = "Tool to find and fix Rust formatting issues"
repository = "https://github.com/rust-lang/rustfmt" repository = "https://github.com/rust-lang/rustfmt"
readme = "README.md" readme = "README.md"
license = "Apache-2.0/MIT" license = "Apache-2.0 OR MIT"
build = "build.rs" build = "build.rs"
categories = ["development-tools"] categories = ["development-tools"]
edition = "2021" edition = "2021"

View File

@ -3,7 +3,7 @@ name = "rustfmt-config_proc_macro"
version = "0.3.0" version = "0.3.0"
edition = "2018" edition = "2018"
description = "A collection of procedural macros for rustfmt" description = "A collection of procedural macros for rustfmt"
license = "Apache-2.0/MIT" license = "Apache-2.0 OR MIT"
categories = ["development-tools::procedural-macro-helpers"] categories = ["development-tools::procedural-macro-helpers"]
repository = "https://github.com/rust-lang/rustfmt" repository = "https://github.com/rust-lang/rustfmt"