mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
Auto merge of #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`
This commit is contained in:
commit
b23142209e
37 changed files with 70 additions and 38 deletions
|
@ -8,6 +8,7 @@ rust-version = "1.78"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
authors = ["rust-analyzer team"]
|
authors = ["rust-analyzer team"]
|
||||||
|
repository = "https://github.com/rust-lang/rust-analyzer"
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
debug = 1
|
debug = 1
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "base-db"
|
name = "base-db"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Basic database traits for rust-analyzer. The concrete DB is defined by `ide` (aka `ra_ap_ide`)."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "cfg"
|
name = "cfg"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Conditional compiling options, `cfg` attribute parser and evaluator for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "flycheck"
|
name = "flycheck"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Functionality needed for rust-analyzer to run `cargo` commands in a background thread."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "hir-def"
|
name = "hir-def"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "RPC Api for the `proc-macro-srv` crate of rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "hir-expand"
|
name = "hir-expand"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Macro expansion for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "hir-ty"
|
name = "hir-ty"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "The type system for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "hir"
|
name = "hir"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A high-level object-oriented access to Rust code for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//! HIR (previously known as descriptors) provides a high-level object oriented
|
//! HIR (previously known as descriptors) provides a high-level object-oriented
|
||||||
//! access to Rust code.
|
//! access to Rust code.
|
||||||
//!
|
//!
|
||||||
//! The principal difference between HIR and syntax trees is that HIR is bound
|
//! The principal difference between HIR and syntax trees is that HIR is bound
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ide-assists"
|
name = "ide-assists"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Code assists for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ide-completion"
|
name = "ide-completion"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Utilities for generating completions of user input for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ide-db"
|
name = "ide-db"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Core data structure representing IDE state for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//! This crate defines the core datastructure representing IDE state -- `RootDatabase`.
|
//! This crate defines the core data structure representing IDE state -- `RootDatabase`.
|
||||||
//!
|
//!
|
||||||
//! It is mainly a `HirDatabase` for semantic analysis, plus a `SymbolsDatabase`, for fuzzy search.
|
//! It is mainly a `HirDatabase` for semantic analysis, plus a `SymbolsDatabase`, for fuzzy search.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ide-diagnostics"
|
name = "ide-diagnostics"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Diagnostics rendering and fixits for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ide-ssr"
|
name = "ide-ssr"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "Structural search and replace of Rust code"
|
repository.workspace = true
|
||||||
repository = "https://github.com/rust-lang/rust-analyzer"
|
description = "Structural search and replace of Rust code for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ide"
|
name = "ide"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "IDE-centric APIs for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "intern"
|
name = "intern"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Global `Arc`-based object interning infrastructure for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "limit"
|
name = "limit"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A struct to enforce limits for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "load-cargo"
|
name = "load-cargo"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Loads a Cargo project into a static instance of rust-analyzer for analysis."
|
||||||
|
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "mbe"
|
name = "mbe"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Handling of `macro_rules` macros for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "parser"
|
name = "parser"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "The Rust parser for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "paths"
|
name = "paths"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Path wrappers for absolute and relative paths rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "proc-macro-api"
|
name = "proc-macro-api"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "RPC Api for the `proc-macro-srv` crate of rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "proc-macro-srv-cli"
|
name = "proc-macro-srv-cli"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A standalone binary for the `proc-macro-srv` crate of rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "proc-macro-srv"
|
name = "proc-macro-srv"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Proc-macro server for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "profile"
|
name = "profile"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A collection of tools for profiling rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "project-model"
|
name = "project-model"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A representation for a Cargo project for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name = "rust-analyzer"
|
name = "rust-analyzer"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
homepage = "https://rust-analyzer.github.io/"
|
homepage = "https://rust-analyzer.github.io/"
|
||||||
repository = "https://github.com/rust-analyzer/rust-analyzer"
|
repository.workspace = true
|
||||||
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"
|
||||||
autobins = false
|
autobins = false
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "span"
|
name = "span"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "File and span related types for rust-analyzer."
|
||||||
|
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "stdx"
|
name = "stdx"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Missing batteries for standard libraries for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "syntax"
|
name = "syntax"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "Comment and whitespace preserving parser for the Rust language"
|
repository.workspace = true
|
||||||
repository = "https://github.com/rust-lang/rust-analyzer"
|
description = "Concrete syntax tree definitions for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "test-utils"
|
name = "test-utils"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Assorted testing utilities for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "text-edit"
|
name = "text-edit"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Representation of a `TextEdit` for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "toolchain"
|
name = "toolchain"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Discovery of `cargo` & `rustc` executables for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tt"
|
name = "tt"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A `TokenTree` data structure for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "vfs-notify"
|
name = "vfs-notify"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "Implementation of `loader::Handle` for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "vfs"
|
name = "vfs"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
description = "TBD"
|
repository.workspace = true
|
||||||
|
description = "A virtual file system for rust-analyzer."
|
||||||
|
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|
Loading…
Reference in a new issue