Skip to content

Commit 679df2a

Browse files
committed
Specify rust-version via workspace.package
1 parent 5306eb0 commit 679df2a

File tree

37 files changed

+38
-36
lines changed

37 files changed

+38
-36
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
members = ["xtask/", "lib/*", "crates/*"]
33
exclude = ["crates/proc-macro-test/imp"]
44

5+
[workspace.package]
6+
rust-version = "1.66"
7+
58
[profile.dev]
69
# Disabling debug info speeds up builds a bunch,
710
# and we don't rely on it for debugging that much.

crates/base-db/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/cfg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/flycheck/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/hir-def/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/hir-expand/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/hir-ty/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/hir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/ide-assists/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

crates/ide-completion/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[lib]
1010
doctest = false

0 commit comments

Comments
 (0)