Skip to content

Commit 6290785

Browse files
committed
Auto merge of #13964 - Veykril:workspace.package, r=Veykril
Specify authors, edition, license and rust-versian via workspace.package
2 parents e11c0e3 + e4858fe commit 6290785

File tree

37 files changed

+181
-106
lines changed

37 files changed

+181
-106
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
members = ["xtask/", "lib/*", "crates/*"]
33
exclude = ["crates/proc-macro-test/imp"]
44

5+
[workspace.package]
6+
rust-version = "1.66"
7+
edition = "2021"
8+
license = "MIT OR Apache-2.0"
9+
authors = ["rust-analyzer team"]
10+
511
[profile.dev]
612
# Disabling debug info speeds up builds a bunch,
713
# and we don't rely on it for debugging that much.

crates/base-db/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/cfg/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/flycheck/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/hir-def/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/hir-expand/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/hir-ty/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/hir/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/ide-assists/Cargo.toml

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

911
[lib]
1012
doctest = false

crates/ide-completion/Cargo.toml

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

911
[lib]
1012
doctest = false

0 commit comments

Comments
 (0)