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

Commit e4858fe

Browse files
committed
Specify authors, edition and license via workspace.package
1 parent 679df2a commit e4858fe

File tree

36 files changed

+144
-71
lines changed

36 files changed

+144
-71
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ exclude = ["crates/proc-macro-test/imp"]
44

55
[workspace.package]
66
rust-version = "1.66"
7+
edition = "2021"
8+
license = "MIT OR Apache-2.0"
9+
authors = ["rust-analyzer team"]
710

811
[profile.dev]
912
# Disabling debug info speeds up builds a bunch,

crates/base-db/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "base-db"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/cfg/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "cfg"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/flycheck/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "flycheck"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/hir-def/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "hir-def"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/hir-expand/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "hir-expand"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/hir-ty/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "hir-ty"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/hir/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "hir"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/ide-assists/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "ide-assists"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

crates/ide-completion/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "ide-completion"
33
version = "0.0.0"
44
description = "TBD"
5-
license = "MIT OR Apache-2.0"
6-
edition = "2021"
5+
6+
authors.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
79
rust-version.workspace = true
810

911
[lib]

0 commit comments

Comments
 (0)