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

Commit e686ffe

Browse files
committed
Auto merge of rust-lang#17745 - regexident:improve-crate-manifests, r=Veykril
Improve crate manifests, adding missing `[package.repository]` and `[package.description]` fields As [discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Could.20we.20add.20repository.20url.20to.20.60ra_ap_.60.20crates.20on.20crates.2Eio.3F/near/455095161). cc `@Veykril` `@lnicola`
2 parents 54362ca + 584f954 commit e686ffe

File tree

37 files changed

+70
-38
lines changed

37 files changed

+70
-38
lines changed

src/tools/rust-analyzer/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ rust-version = "1.78"
88
edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
authors = ["rust-analyzer team"]
11+
repository = "https://github.com/rust-lang/rust-analyzer"
1112

1213
[profile.dev]
1314
debug = 1

src/tools/rust-analyzer/crates/base-db/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "base-db"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "Basic database traits for rust-analyzer. The concrete DB is defined by `ide` (aka `ra_ap_ide`)."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/cfg/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "cfg"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "Conditional compiling options, `cfg` attribute parser and evaluator for rust-analyzer."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/flycheck/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "flycheck"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "Functionality needed for rust-analyzer to run `cargo` commands in a background thread."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/hir-def/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "hir-def"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "RPC Api for the `proc-macro-srv` crate of rust-analyzer."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/hir-expand/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "hir-expand"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "Macro expansion for rust-analyzer."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/hir-ty/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "hir-ty"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "The type system for rust-analyzer."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/hir/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "hir"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "A high-level object-oriented access to Rust code for rust-analyzer."
56

67
authors.workspace = true
78
edition.workspace = true

src/tools/rust-analyzer/crates/hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! HIR (previously known as descriptors) provides a high-level object oriented
1+
//! HIR (previously known as descriptors) provides a high-level object-oriented
22
//! access to Rust code.
33
//!
44
//! The principal difference between HIR and syntax trees is that HIR is bound

src/tools/rust-analyzer/crates/ide-assists/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "ide-assists"
33
version = "0.0.0"
4-
description = "TBD"
4+
repository.workspace = true
5+
description = "Code assists for rust-analyzer."
56

67
authors.workspace = true
78
edition.workspace = true

0 commit comments

Comments
 (0)