mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Specify authors, edition and license via workspace.package
This commit is contained in:
parent
679df2adf1
commit
e4858fe480
36 changed files with 144 additions and 71 deletions
|
@ -4,6 +4,9 @@ exclude = ["crates/proc-macro-test/imp"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
rust-version = "1.66"
|
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,
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
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"
|
|
||||||
|
authors.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -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.workspace = true
|
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
authors.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
[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"
|
|
||||||
|
authors.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
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"
|
|
||||||
|
authors.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
name = "syntax-fuzz"
|
name = "syntax-fuzz"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
publish = false
|
publish = false
|
||||||
edition = "2021"
|
|
||||||
|
authors.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[package.metadata]
|
[package.metadata]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
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
|
||||||
|
edition.workspace = true
|
||||||
|
license.workspace = true
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
Loading…
Reference in a new issue