Skip to content

Commit

Permalink
refactor: Provide workspace-level default license
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jul 12, 2023
1 parent 46b2e3c commit 7a12220
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exclude = [

[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"

[workspace.dependencies]
anyhow = "1.0.47"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion benches/benchsuite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion benches/capture/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion crates/cargo-platform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/cargo-test-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/cargo-test-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion crates/cargo-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion crates/crates-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/home/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
2 changes: 1 addition & 1 deletion crates/mdman/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential-1password/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential-gnome-secret/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential-macos-keychain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential-wincred/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down
2 changes: 1 addition & 1 deletion credential/cargo-credential/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Expand Down

0 comments on commit 7a12220

Please sign in to comment.