Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

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

crates/ide-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/ide-diagnostics/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-ssr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Structural search and replace of Rust code"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/rust-lang/rust-analyzer"
77
edition = "2021"
8-
rust-version = "1.65"
8+
rust-version.workspace = true
99

1010
[lib]
1111
doctest = false

crates/ide/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/intern/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/limit/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
[features]
1010
tracking = []

crates/mbe/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/parser/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/paths/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/proc-macro-api/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/proc-macro-srv-cli/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
[dependencies]
1010
proc-macro-srv = { version = "0.0.0", path = "../proc-macro-srv" }

crates/proc-macro-srv/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/proc-macro-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "proc-macro-test"
33
version = "0.0.0"
44
license = "MIT OR Apache-2.0"
55
edition = "2021"
6-
rust-version = "1.65"
6+
rust-version.workspace = true
77
publish = false
88

99
[lib]

crates/proc-macro-test/imp/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name = "proc-macro-test-impl"
33
version = "0.0.0"
44
license = "MIT OR Apache-2.0"
55
edition = "2021"
6-
rust-version = "1.65"
76
publish = false
87

98
[lib]

crates/profile/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/project-model/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/rust-analyzer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ documentation = "https://rust-analyzer.github.io/manual.html"
88
license = "MIT OR Apache-2.0"
99
autobins = false
1010
edition = "2021"
11-
rust-version = "1.65"
11+
rust-version.workspace = true
1212

1313
[lib]
1414
doctest = false

crates/sourcegen/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/stdx/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/syntax/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Comment and whitespace preserving parser for the Rust language"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/rust-lang/rust-analyzer"
77
edition = "2021"
8-
rust-version = "1.65"
8+
rust-version.workspace = true
99

1010
[lib]
1111
doctest = false

crates/syntax/fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "syntax-fuzz"
44
version = "0.0.1"
55
publish = false
66
edition = "2021"
7-
rust-version = "1.65"
7+
rust-version.workspace = true
88

99
[package.metadata]
1010
cargo-fuzz = true

crates/test-utils/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/text-edit/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/toolchain/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/tt/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/vfs-notify/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/vfs/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)