refactor: Provide a workspace-level default edition

This commit is contained in:
Ed Page 2023-07-12 10:21:33 -05:00
parent 8b02d4927e
commit f358359a17
18 changed files with 21 additions and 18 deletions

View File

@ -10,6 +10,9 @@ exclude = [
"target/", # exclude bench testing
]
[workspace.package]
edition = "2021"
[workspace.dependencies]
anyhow = "1.0.47"
base64 = "0.21.0"
@ -96,7 +99,7 @@ windows-sys = "0.48"
[package]
name = "cargo"
version = "0.74.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
homepage = "https://crates.io"
repository = "https://github.com/rust-lang/cargo"

View File

@ -1,7 +1,7 @@
[package]
name = "benchsuite"
version = "0.0.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"

View File

@ -1,7 +1,7 @@
[package]
name = "capture"
version = "0.1.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
description = "Tool for capturing a real-world workspace for benchmarking."
publish = false

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-platform"
version = "0.1.3"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-test-macro"
version = "0.1.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"

View File

@ -2,7 +2,7 @@
name = "cargo-test-support"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2021"
edition.workspace = true
publish = false
[lib]

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-util"
version = "0.2.4"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
homepage = "https://github.com/rust-lang/cargo"
repository = "https://github.com/rust-lang/cargo"

View File

@ -1,7 +1,7 @@
[package]
name = "crates-io"
version = "0.37.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/cargo"
description = """

View File

@ -1,7 +1,7 @@
[package]
name = "mdman"
version = "0.0.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
description = "Creates a man page page from markdown."
publish = false

View File

@ -2,7 +2,7 @@
name = "semver-check"
version = "0.0.0"
authors = ["Eric Huss"]
edition = "2021"
edition.workspace = true
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,7 +1,7 @@
[package]
name = "xtask-build-man"
version = "0.0.0"
edition = "2021"
edition.workspace = true
publish = false
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "xtask-stale-label"
version = "0.0.0"
edition = "2021"
edition.workspace = true
publish = false
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "xtask-unpublished"
version = "0.0.0"
edition = "2021"
edition.workspace = true
publish = false
[dependencies]

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-credential-1password"
version = "0.2.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/cargo"
description = "A Cargo credential process that stores tokens in a 1password vault."

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-credential-gnome-secret"
version = "0.2.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/cargo"
description = "A Cargo credential process that stores tokens with GNOME libsecret."

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-credential-macos-keychain"
version = "0.2.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/cargo"
description = "A Cargo credential process that stores tokens in a macOS keychain."

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-credential-wincred"
version = "0.2.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/cargo"
description = "A Cargo credential process that stores tokens with Windows Credential Manager."

View File

@ -1,7 +1,7 @@
[package]
name = "cargo-credential"
version = "0.2.0"
edition = "2021"
edition.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/cargo"
description = "A library to assist writing Cargo credential helpers."