From 7a1222000117136a11529c693d2dcbadfe3d7284 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 12 Jul 2023 10:26:19 -0500 Subject: [PATCH] refactor: Provide workspace-level default license --- Cargo.toml | 3 ++- benches/benchsuite/Cargo.toml | 2 +- benches/capture/Cargo.toml | 2 +- crates/cargo-platform/Cargo.toml | 2 +- crates/cargo-test-macro/Cargo.toml | 2 +- crates/cargo-test-support/Cargo.toml | 2 +- crates/cargo-util/Cargo.toml | 2 +- crates/crates-io/Cargo.toml | 2 +- crates/home/Cargo.toml | 2 +- crates/mdman/Cargo.toml | 2 +- credential/cargo-credential-1password/Cargo.toml | 2 +- credential/cargo-credential-gnome-secret/Cargo.toml | 2 +- credential/cargo-credential-macos-keychain/Cargo.toml | 2 +- credential/cargo-credential-wincred/Cargo.toml | 2 +- credential/cargo-credential/Cargo.toml | 2 +- 15 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 59d77dc32e4c..6cb9118c919f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ exclude = [ [workspace.package] edition = "2021" +license = "MIT OR Apache-2.0" [workspace.dependencies] anyhow = "1.0.47" @@ -100,7 +101,7 @@ windows-sys = "0.48" name = "cargo" version = "0.73.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true homepage = "https://crates.io" repository = "https://github.com/rust-lang/cargo" documentation = "https://docs.rs/cargo" diff --git a/benches/benchsuite/Cargo.toml b/benches/benchsuite/Cargo.toml index cb58010d7069..c15798787cc7 100644 --- a/benches/benchsuite/Cargo.toml +++ b/benches/benchsuite/Cargo.toml @@ -2,7 +2,7 @@ name = "benchsuite" version = "0.0.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true homepage = "https://github.com/rust-lang/cargo" repository = "https://github.com/rust-lang/cargo" description = "Benchmarking suite for Cargo." diff --git a/benches/capture/Cargo.toml b/benches/capture/Cargo.toml index 47b73499c5d1..e42fe70e282b 100644 --- a/benches/capture/Cargo.toml +++ b/benches/capture/Cargo.toml @@ -2,7 +2,7 @@ name = "capture" version = "0.1.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true description = "Tool for capturing a real-world workspace for benchmarking." publish = false diff --git a/crates/cargo-platform/Cargo.toml b/crates/cargo-platform/Cargo.toml index 3d08827b8b62..1622366ac4c8 100644 --- a/crates/cargo-platform/Cargo.toml +++ b/crates/cargo-platform/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-platform" version = "0.1.3" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true homepage = "https://github.com/rust-lang/cargo" repository = "https://github.com/rust-lang/cargo" documentation = "https://docs.rs/cargo-platform" diff --git a/crates/cargo-test-macro/Cargo.toml b/crates/cargo-test-macro/Cargo.toml index 14f0464fa81d..b5da0522f183 100644 --- a/crates/cargo-test-macro/Cargo.toml +++ b/crates/cargo-test-macro/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-test-macro" version = "0.1.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true homepage = "https://github.com/rust-lang/cargo" repository = "https://github.com/rust-lang/cargo" documentation = "https://github.com/rust-lang/cargo" diff --git a/crates/cargo-test-support/Cargo.toml b/crates/cargo-test-support/Cargo.toml index 8de86ae4e439..085041affd1b 100644 --- a/crates/cargo-test-support/Cargo.toml +++ b/crates/cargo-test-support/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cargo-test-support" version = "0.1.0" -license = "MIT OR Apache-2.0" +license.workspace = true edition.workspace = true publish = false diff --git a/crates/cargo-util/Cargo.toml b/crates/cargo-util/Cargo.toml index 5e8ab4b7b4ed..c5ede537e247 100644 --- a/crates/cargo-util/Cargo.toml +++ b/crates/cargo-util/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-util" version = "0.2.4" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true homepage = "https://github.com/rust-lang/cargo" repository = "https://github.com/rust-lang/cargo" description = "Miscellaneous support code used by Cargo." diff --git a/crates/crates-io/Cargo.toml b/crates/crates-io/Cargo.toml index 4321038cf763..23bfb7b8b1c8 100644 --- a/crates/crates-io/Cargo.toml +++ b/crates/crates-io/Cargo.toml @@ -2,7 +2,7 @@ name = "crates-io" version = "0.36.1" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = """ Helpers for interacting with crates.io diff --git a/crates/home/Cargo.toml b/crates/home/Cargo.toml index 14f3478d8aac..1692b111d3b5 100644 --- a/crates/home/Cargo.toml +++ b/crates/home/Cargo.toml @@ -11,7 +11,7 @@ include = [ "/LICENSE-*", "/README.md", ] -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = "Shared definitions of home directories." diff --git a/crates/mdman/Cargo.toml b/crates/mdman/Cargo.toml index b506cf5dcb8c..ba1d4b462bc9 100644 --- a/crates/mdman/Cargo.toml +++ b/crates/mdman/Cargo.toml @@ -2,7 +2,7 @@ name = "mdman" version = "0.0.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true description = "Creates a man page page from markdown." publish = false diff --git a/credential/cargo-credential-1password/Cargo.toml b/credential/cargo-credential-1password/Cargo.toml index 9c83e12e0e97..652d798e1227 100644 --- a/credential/cargo-credential-1password/Cargo.toml +++ b/credential/cargo-credential-1password/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-credential-1password" version = "0.2.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = "A Cargo credential process that stores tokens in a 1password vault." diff --git a/credential/cargo-credential-gnome-secret/Cargo.toml b/credential/cargo-credential-gnome-secret/Cargo.toml index 9672255dfbb8..98e89a731078 100644 --- a/credential/cargo-credential-gnome-secret/Cargo.toml +++ b/credential/cargo-credential-gnome-secret/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-credential-gnome-secret" version = "0.2.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = "A Cargo credential process that stores tokens with GNOME libsecret." diff --git a/credential/cargo-credential-macos-keychain/Cargo.toml b/credential/cargo-credential-macos-keychain/Cargo.toml index 2b5de9a69eba..c52e73cb278d 100644 --- a/credential/cargo-credential-macos-keychain/Cargo.toml +++ b/credential/cargo-credential-macos-keychain/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-credential-macos-keychain" version = "0.2.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = "A Cargo credential process that stores tokens in a macOS keychain." diff --git a/credential/cargo-credential-wincred/Cargo.toml b/credential/cargo-credential-wincred/Cargo.toml index f00cefca194a..e68f230d851d 100644 --- a/credential/cargo-credential-wincred/Cargo.toml +++ b/credential/cargo-credential-wincred/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-credential-wincred" version = "0.2.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = "A Cargo credential process that stores tokens with Windows Credential Manager." diff --git a/credential/cargo-credential/Cargo.toml b/credential/cargo-credential/Cargo.toml index 340ac65b037d..345ab90fdc21 100644 --- a/credential/cargo-credential/Cargo.toml +++ b/credential/cargo-credential/Cargo.toml @@ -2,7 +2,7 @@ name = "cargo-credential" version = "0.2.0" edition.workspace = true -license = "MIT OR Apache-2.0" +license.workspace = true repository = "https://github.com/rust-lang/cargo" description = "A library to assist writing Cargo credential helpers."