Skip to content

Commit cabe1cc

Browse files
committed
Upgrade Cargo to the 2021 edition
This didn't actually result in any code changes yet, for now this simply flips the edition flag for all of our crates and documentation.
1 parent 50a0af4 commit cabe1cc

File tree

19 files changed

+21
-21
lines changed

19 files changed

+21
-21
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cargo"
33
version = "0.59.0"
4-
edition = "2018"
4+
edition = "2021"
55
authors = ["Yehuda Katz <wycats@gmail.com>",
66
"Carl Lerche <me@carllerche.com>",
77
"Alex Crichton <alex@alexcrichton.com>"]

benches/benchsuite/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "benchsuite"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://github.com/rust-lang/cargo"
77
repository = "https://github.com/rust-lang/cargo"

benches/capture/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "capture"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
description = "Tool for capturing a real-world workspace for benchmarking."
77

crates/cargo-platform/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-platform"
33
version = "0.1.2"
44
authors = ["The Cargo Project Developers"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
homepage = "https://github.com/rust-lang/cargo"
88
repository = "https://github.com/rust-lang/cargo"

crates/cargo-test-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-test-macro"
33
version = "0.1.0"
44
authors = ["Jethro Beekman <jethro@fortanix.com>"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
homepage = "https://github.com/rust-lang/cargo"
88
repository = "https://github.com/rust-lang/cargo"

crates/cargo-test-support/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "cargo-test-support"
33
version = "0.1.0"
44
authors = ["Alex Crichton <alex@alexcrichton.com>"]
55
license = "MIT OR Apache-2.0"
6-
edition = "2018"
6+
edition = "2021"
77

88
[lib]
99
doctest = false

crates/cargo-util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-util"
33
version = "0.1.1"
44
authors = ["The Cargo Project Developers"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
homepage = "https://github.com/rust-lang/cargo"
88
repository = "https://github.com/rust-lang/cargo"

crates/crates-io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "crates-io"
33
version = "0.33.0"
4-
edition = "2018"
4+
edition = "2021"
55
authors = ["Alex Crichton <alex@alexcrichton.com>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/cargo"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential-1password"
33
version = "0.1.0"
44
authors = ["The Rust Project Developers"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/cargo"
88
description = "A Cargo credential process that stores tokens in a 1password vault."

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cargo-credential-gnome-secret"
33
version = "0.1.0"
44
authors = ["The Rust Project Developers"]
5-
edition = "2018"
5+
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/cargo"
88
description = "A Cargo credential process that stores tokens with GNOME libsecret."

0 commit comments

Comments
 (0)