diff --git a/Cargo.toml b/Cargo.toml index 669a9cebc63..8bd95a8d3b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,9 @@ 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] # Disabling debug info speeds up builds a bunch, diff --git a/crates/base-db/Cargo.toml b/crates/base-db/Cargo.toml index b3e7143f18a..222ed1cded9 100644 --- a/crates/base-db/Cargo.toml +++ b/crates/base-db/Cargo.toml @@ -2,8 +2,10 @@ name = "base-db" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml index da7934f9888..496da97ddc2 100644 --- a/crates/cfg/Cargo.toml +++ b/crates/cfg/Cargo.toml @@ -2,8 +2,10 @@ name = "cfg" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/flycheck/Cargo.toml b/crates/flycheck/Cargo.toml index 67f03c35247..78313923450 100644 --- a/crates/flycheck/Cargo.toml +++ b/crates/flycheck/Cargo.toml @@ -2,8 +2,10 @@ name = "flycheck" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/hir-def/Cargo.toml b/crates/hir-def/Cargo.toml index d9722bf5448..1d5f9d3db43 100644 --- a/crates/hir-def/Cargo.toml +++ b/crates/hir-def/Cargo.toml @@ -2,8 +2,10 @@ name = "hir-def" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/hir-expand/Cargo.toml b/crates/hir-expand/Cargo.toml index d2ac98a54b9..c37bd502a00 100644 --- a/crates/hir-expand/Cargo.toml +++ b/crates/hir-expand/Cargo.toml @@ -2,8 +2,10 @@ name = "hir-expand" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/hir-ty/Cargo.toml b/crates/hir-ty/Cargo.toml index 2eb29bbdcf9..325e3105f29 100644 --- a/crates/hir-ty/Cargo.toml +++ b/crates/hir-ty/Cargo.toml @@ -2,8 +2,10 @@ name = "hir-ty" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/hir/Cargo.toml b/crates/hir/Cargo.toml index d98f2e11a54..0bf03e0c852 100644 --- a/crates/hir/Cargo.toml +++ b/crates/hir/Cargo.toml @@ -2,8 +2,10 @@ name = "hir" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/ide-assists/Cargo.toml b/crates/ide-assists/Cargo.toml index e6b65e6f764..247db7b46be 100644 --- a/crates/ide-assists/Cargo.toml +++ b/crates/ide-assists/Cargo.toml @@ -2,8 +2,10 @@ name = "ide-assists" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/ide-completion/Cargo.toml b/crates/ide-completion/Cargo.toml index b1b4fe1aed3..7ab44d92b91 100644 --- a/crates/ide-completion/Cargo.toml +++ b/crates/ide-completion/Cargo.toml @@ -2,8 +2,10 @@ name = "ide-completion" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/ide-db/Cargo.toml b/crates/ide-db/Cargo.toml index 952407067fa..d85130cc9f5 100644 --- a/crates/ide-db/Cargo.toml +++ b/crates/ide-db/Cargo.toml @@ -2,8 +2,10 @@ name = "ide-db" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/ide-diagnostics/Cargo.toml b/crates/ide-diagnostics/Cargo.toml index 96ef4c592b5..cb453a0ddce 100644 --- a/crates/ide-diagnostics/Cargo.toml +++ b/crates/ide-diagnostics/Cargo.toml @@ -2,8 +2,10 @@ name = "ide-diagnostics" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/ide-ssr/Cargo.toml b/crates/ide-ssr/Cargo.toml index cc5a9e978fe..ddc2ba9c146 100644 --- a/crates/ide-ssr/Cargo.toml +++ b/crates/ide-ssr/Cargo.toml @@ -2,9 +2,11 @@ name = "ide-ssr" version = "0.0.0" description = "Structural search and replace of Rust code" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/rust-analyzer" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index f800dcdf1f6..00c7cffbf42 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -2,8 +2,10 @@ name = "ide" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/intern/Cargo.toml b/crates/intern/Cargo.toml index faf6950171e..6fd35c429c4 100644 --- a/crates/intern/Cargo.toml +++ b/crates/intern/Cargo.toml @@ -2,8 +2,10 @@ name = "intern" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/limit/Cargo.toml b/crates/limit/Cargo.toml index ae52553d39c..c0888690992 100644 --- a/crates/limit/Cargo.toml +++ b/crates/limit/Cargo.toml @@ -2,8 +2,10 @@ name = "limit" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [features] diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index c0a9d829213..3844abd63d3 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml @@ -2,8 +2,10 @@ name = "mbe" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 0ded0070b8d..10d4f7d8ae4 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml @@ -2,8 +2,10 @@ name = "parser" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/paths/Cargo.toml b/crates/paths/Cargo.toml index 54586260e18..e24e6eceffb 100644 --- a/crates/paths/Cargo.toml +++ b/crates/paths/Cargo.toml @@ -2,8 +2,10 @@ name = "paths" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/proc-macro-api/Cargo.toml b/crates/proc-macro-api/Cargo.toml index 686ca04e772..c547bb7c4f1 100644 --- a/crates/proc-macro-api/Cargo.toml +++ b/crates/proc-macro-api/Cargo.toml @@ -2,8 +2,10 @@ name = "proc-macro-api" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/proc-macro-srv-cli/Cargo.toml b/crates/proc-macro-srv-cli/Cargo.toml index d75a24b27c1..a4740f00cba 100644 --- a/crates/proc-macro-srv-cli/Cargo.toml +++ b/crates/proc-macro-srv-cli/Cargo.toml @@ -2,8 +2,10 @@ name = "proc-macro-srv-cli" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/proc-macro-srv/Cargo.toml b/crates/proc-macro-srv/Cargo.toml index e867d09a5e7..44b0b3f19f2 100644 --- a/crates/proc-macro-srv/Cargo.toml +++ b/crates/proc-macro-srv/Cargo.toml @@ -2,8 +2,10 @@ name = "proc-macro-srv" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/proc-macro-test/Cargo.toml b/crates/proc-macro-test/Cargo.toml index a44cbf64262..721e89b019c 100644 --- a/crates/proc-macro-test/Cargo.toml +++ b/crates/proc-macro-test/Cargo.toml @@ -1,11 +1,13 @@ [package] name = "proc-macro-test" version = "0.0.0" -license = "MIT OR Apache-2.0" -edition = "2021" -rust-version.workspace = true publish = false +authors.workspace = true +edition.workspace = true +license.workspace = true +rust-version.workspace = true + [lib] doctest = false diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 9796140b2c4..a54becf29a7 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml @@ -2,8 +2,10 @@ name = "profile" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/project-model/Cargo.toml b/crates/project-model/Cargo.toml index dc90c5d9425..52af73150f5 100644 --- a/crates/project-model/Cargo.toml +++ b/crates/project-model/Cargo.toml @@ -2,8 +2,10 @@ name = "project-model" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index b4461ea6370..8fb286e149e 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -1,13 +1,14 @@ [package] name = "rust-analyzer" version = "0.0.0" -authors = ["rust-analyzer Team"] homepage = "https://github.com/rust-analyzer/rust-analyzer" description = "A language server for the Rust programming language" documentation = "https://rust-analyzer.github.io/manual.html" -license = "MIT OR Apache-2.0" autobins = false -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/sourcegen/Cargo.toml b/crates/sourcegen/Cargo.toml index cade32cda88..fb2b9ebef50 100644 --- a/crates/sourcegen/Cargo.toml +++ b/crates/sourcegen/Cargo.toml @@ -2,8 +2,10 @@ name = "sourcegen" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/stdx/Cargo.toml b/crates/stdx/Cargo.toml index f73f099bbf8..c881f2fd3f4 100644 --- a/crates/stdx/Cargo.toml +++ b/crates/stdx/Cargo.toml @@ -2,8 +2,10 @@ name = "stdx" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index fbe2799b21f..e5212414a08 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml @@ -2,9 +2,11 @@ name = "syntax" version = "0.0.0" description = "Comment and whitespace preserving parser for the Rust language" -license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/rust-analyzer" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/syntax/fuzz/Cargo.toml b/crates/syntax/fuzz/Cargo.toml index d58470b223b..802141e5910 100644 --- a/crates/syntax/fuzz/Cargo.toml +++ b/crates/syntax/fuzz/Cargo.toml @@ -3,7 +3,10 @@ name = "syntax-fuzz" version = "0.0.1" publish = false -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [package.metadata] diff --git a/crates/test-utils/Cargo.toml b/crates/test-utils/Cargo.toml index 47828b6b3a6..34cc1de767f 100644 --- a/crates/test-utils/Cargo.toml +++ b/crates/test-utils/Cargo.toml @@ -2,8 +2,10 @@ name = "test-utils" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/text-edit/Cargo.toml b/crates/text-edit/Cargo.toml index e42437d8a53..337cd234739 100644 --- a/crates/text-edit/Cargo.toml +++ b/crates/text-edit/Cargo.toml @@ -2,8 +2,10 @@ name = "text-edit" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/toolchain/Cargo.toml b/crates/toolchain/Cargo.toml index 750cced4049..a283f9a8842 100644 --- a/crates/toolchain/Cargo.toml +++ b/crates/toolchain/Cargo.toml @@ -2,8 +2,10 @@ name = "toolchain" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/tt/Cargo.toml b/crates/tt/Cargo.toml index 372027e397d..7fc7e6edbaf 100644 --- a/crates/tt/Cargo.toml +++ b/crates/tt/Cargo.toml @@ -2,8 +2,10 @@ name = "tt" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/vfs-notify/Cargo.toml b/crates/vfs-notify/Cargo.toml index 6ccb06ac72e..9c50de26aab 100644 --- a/crates/vfs-notify/Cargo.toml +++ b/crates/vfs-notify/Cargo.toml @@ -2,8 +2,10 @@ name = "vfs-notify" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib] diff --git a/crates/vfs/Cargo.toml b/crates/vfs/Cargo.toml index f754917ac2a..3e7e2da81f0 100644 --- a/crates/vfs/Cargo.toml +++ b/crates/vfs/Cargo.toml @@ -2,8 +2,10 @@ name = "vfs" version = "0.0.0" description = "TBD" -license = "MIT OR Apache-2.0" -edition = "2021" + +authors.workspace = true +edition.workspace = true +license.workspace = true rust-version.workspace = true [lib]