Skip to content

Commit 7a12220

Browse files
committed
refactor: Provide workspace-level default license
1 parent 46b2e3c commit 7a12220

File tree

15 files changed

+16
-15
lines changed

15 files changed

+16
-15
lines changed

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ exclude = [
1212

1313
[workspace.package]
1414
edition = "2021"
15+
license = "MIT OR Apache-2.0"
1516

1617
[workspace.dependencies]
1718
anyhow = "1.0.47"
@@ -100,7 +101,7 @@ windows-sys = "0.48"
100101
name = "cargo"
101102
version = "0.73.0"
102103
edition.workspace = true
103-
license = "MIT OR Apache-2.0"
104+
license.workspace = true
104105
homepage = "https://crates.io"
105106
repository = "https://github.com/rust-lang/cargo"
106107
documentation = "https://docs.rs/cargo"

benches/benchsuite/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "benchsuite"
33
version = "0.0.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
homepage = "https://github.com/rust-lang/cargo"
77
repository = "https://github.com/rust-lang/cargo"
88
description = "Benchmarking suite for Cargo."

benches/capture/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "capture"
33
version = "0.1.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
description = "Tool for capturing a real-world workspace for benchmarking."
77
publish = false
88

crates/cargo-platform/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-platform"
33
version = "0.1.3"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
homepage = "https://github.com/rust-lang/cargo"
77
repository = "https://github.com/rust-lang/cargo"
88
documentation = "https://docs.rs/cargo-platform"

crates/cargo-test-macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-test-macro"
33
version = "0.1.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
homepage = "https://github.com/rust-lang/cargo"
77
repository = "https://github.com/rust-lang/cargo"
88
documentation = "https://github.com/rust-lang/cargo"

crates/cargo-test-support/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo-test-support"
33
version = "0.1.0"
4-
license = "MIT OR Apache-2.0"
4+
license.workspace = true
55
edition.workspace = true
66
publish = false
77

crates/cargo-util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-util"
33
version = "0.2.4"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
homepage = "https://github.com/rust-lang/cargo"
77
repository = "https://github.com/rust-lang/cargo"
88
description = "Miscellaneous support code used by Cargo."

crates/crates-io/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "crates-io"
33
version = "0.36.1"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"
77
description = """
88
Helpers for interacting with crates.io

crates/home/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include = [
1111
"/LICENSE-*",
1212
"/README.md",
1313
]
14-
license = "MIT OR Apache-2.0"
14+
license.workspace = true
1515
repository = "https://github.com/rust-lang/cargo"
1616
description = "Shared definitions of home directories."
1717

crates/mdman/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mdman"
33
version = "0.0.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
description = "Creates a man page page from markdown."
77
publish = false
88

credential/cargo-credential-1password/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential-1password"
33
version = "0.2.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"
77
description = "A Cargo credential process that stores tokens in a 1password vault."
88

credential/cargo-credential-gnome-secret/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential-gnome-secret"
33
version = "0.2.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"
77
description = "A Cargo credential process that stores tokens with GNOME libsecret."
88

credential/cargo-credential-macos-keychain/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential-macos-keychain"
33
version = "0.2.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"
77
description = "A Cargo credential process that stores tokens in a macOS keychain."
88

credential/cargo-credential-wincred/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential-wincred"
33
version = "0.2.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"
77
description = "A Cargo credential process that stores tokens with Windows Credential Manager."
88

credential/cargo-credential/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential"
33
version = "0.2.0"
44
edition.workspace = true
5-
license = "MIT OR Apache-2.0"
5+
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"
77
description = "A library to assist writing Cargo credential helpers."
88

0 commit comments

Comments
 (0)