Auto merge of #13964 - Veykril:workspace.package, r=Veykril

Specify authors, edition, license and rust-versian via workspace.package
This commit is contained in:
bors 2023-01-17 10:13:24 +00:00
commit 62907858d5
37 changed files with 181 additions and 106 deletions

View file

@ -2,6 +2,12 @@
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"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["rust-analyzer team"]
[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

@ -2,9 +2,11 @@
name = "base-db" name = "base-db"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "cfg" name = "cfg"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "flycheck" name = "flycheck"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "hir-def" name = "hir-def"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "hir-expand" name = "hir-expand"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "hir-ty" name = "hir-ty"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "hir" name = "hir"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "ide-assists" name = "ide-assists"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "ide-completion" name = "ide-completion"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "ide-db" name = "ide-db"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "ide-diagnostics" name = "ide-diagnostics"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

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

View file

@ -2,9 +2,11 @@
name = "ide" name = "ide"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "intern" name = "intern"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "limit" name = "limit"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[features] [features]
tracking = [] tracking = []

View file

@ -2,9 +2,11 @@
name = "mbe" name = "mbe"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "parser" name = "parser"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "paths" name = "paths"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "proc-macro-api" name = "proc-macro-api"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "proc-macro-srv-cli" name = "proc-macro-srv-cli"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
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

@ -2,9 +2,11 @@
name = "proc-macro-srv" name = "proc-macro-srv"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -1,11 +1,13 @@
[package] [package]
name = "proc-macro-test" name = "proc-macro-test"
version = "0.0.0" version = "0.0.0"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.65"
publish = false publish = false
authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

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

@ -2,9 +2,11 @@
name = "profile" name = "profile"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "project-model" name = "project-model"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -1,14 +1,15 @@
[package] [package]
name = "rust-analyzer" name = "rust-analyzer"
version = "0.0.0" version = "0.0.0"
authors = ["rust-analyzer Team"]
homepage = "https://github.com/rust-analyzer/rust-analyzer" homepage = "https://github.com/rust-analyzer/rust-analyzer"
description = "A language server for the Rust programming language" description = "A language server for the Rust programming language"
documentation = "https://rust-analyzer.github.io/manual.html" documentation = "https://rust-analyzer.github.io/manual.html"
license = "MIT OR Apache-2.0"
autobins = false autobins = false
edition = "2021"
rust-version = "1.65" authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "sourcegen" name = "sourcegen"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "stdx" name = "stdx"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

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

View file

@ -3,8 +3,11 @@
name = "syntax-fuzz" name = "syntax-fuzz"
version = "0.0.1" version = "0.0.1"
publish = false publish = false
edition = "2021"
rust-version = "1.65" authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[package.metadata] [package.metadata]
cargo-fuzz = true cargo-fuzz = true

View file

@ -2,9 +2,11 @@
name = "test-utils" name = "test-utils"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "text-edit" name = "text-edit"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "toolchain" name = "toolchain"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "tt" name = "tt"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "vfs-notify" name = "vfs-notify"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false

View file

@ -2,9 +2,11 @@
name = "vfs" name = "vfs"
version = "0.0.0" version = "0.0.0"
description = "TBD" description = "TBD"
license = "MIT OR Apache-2.0"
edition = "2021" authors.workspace = true
rust-version = "1.65" edition.workspace = true
license.workspace = true
rust-version.workspace = true
[lib] [lib]
doctest = false doctest = false