Specify rust-version via workspace.package

This commit is contained in:
Lukas Wirth 2023-01-16 16:33:01 +01:00
parent 5306eb06cc
commit 679df2adf1
37 changed files with 38 additions and 36 deletions

View File

@ -2,6 +2,9 @@
members = ["xtask/", "lib/*", "crates/*"] members = ["xtask/", "lib/*", "crates/*"]
exclude = ["crates/proc-macro-test/imp"] exclude = ["crates/proc-macro-test/imp"]
[workspace.package]
rust-version = "1.66"
[profile.dev] [profile.dev]
# Disabling debug info speeds up builds a bunch, # Disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much. # and we don't rely on it for debugging that much.

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -5,7 +5,7 @@ description = "Structural search and replace of Rust code"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer" repository = "https://github.com/rust-lang/rust-analyzer"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[features] [features]
tracking = [] tracking = []

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[dependencies] [dependencies]
proc-macro-srv = { version = "0.0.0", path = "../proc-macro-srv" } proc-macro-srv = { version = "0.0.0", path = "../proc-macro-srv" }

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -3,7 +3,7 @@ name = "proc-macro-test"
version = "0.0.0" version = "0.0.0"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
publish = false publish = false
[lib] [lib]

View File

@ -3,7 +3,6 @@ name = "proc-macro-test-impl"
version = "0.0.0" version = "0.0.0"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65"
publish = false publish = false
[lib] [lib]

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -8,7 +8,7 @@ documentation = "https://rust-analyzer.github.io/manual.html"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
autobins = false autobins = false
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -5,7 +5,7 @@ description = "Comment and whitespace preserving parser for the Rust language"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer" repository = "https://github.com/rust-lang/rust-analyzer"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ name = "syntax-fuzz"
version = "0.0.1" version = "0.0.1"
publish = false publish = false
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[package.metadata] [package.metadata]
cargo-fuzz = true cargo-fuzz = true

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View File

@ -4,7 +4,7 @@ version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.65" rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false