From f0165dee929e35f0a2cb75275f13330c9460091b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Fri, 11 Jul 2025 13:02:35 -0700 Subject: [PATCH] feat(rust): Add direct links to documentation Make the URL to the documentation of the various crates known so that it will be easier to click through to it from a crates.io search [0]. [0] https://doc.rust-lang.org/cargo/reference/manifest.html#the-documentation-field --- crates/cli/Cargo.toml | 1 + crates/config/Cargo.toml | 1 + crates/generate/Cargo.toml | 1 + crates/highlight/Cargo.toml | 1 + crates/language/Cargo.toml | 1 + crates/loader/Cargo.toml | 1 + crates/tags/Cargo.toml | 1 + lib/Cargo.toml | 1 + 8 files changed, 8 insertions(+) diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 9bb53de0..bb5b2999 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -8,6 +8,7 @@ rust-version.workspace = true readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-cli" license.workspace = true keywords.workspace = true categories.workspace = true diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index aaf062b9..9fc0d493 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -8,6 +8,7 @@ rust-version.workspace = true readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-config" license.workspace = true keywords.workspace = true categories.workspace = true diff --git a/crates/generate/Cargo.toml b/crates/generate/Cargo.toml index 629d6469..e87b1245 100644 --- a/crates/generate/Cargo.toml +++ b/crates/generate/Cargo.toml @@ -8,6 +8,7 @@ rust-version.workspace = true readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-generate" license.workspace = true keywords.workspace = true categories.workspace = true diff --git a/crates/highlight/Cargo.toml b/crates/highlight/Cargo.toml index e1f72a6f..502bb31f 100644 --- a/crates/highlight/Cargo.toml +++ b/crates/highlight/Cargo.toml @@ -11,6 +11,7 @@ rust-version.workspace = true readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-highlight" license.workspace = true keywords = ["incremental", "parsing", "syntax", "highlighting"] categories = ["parsing", "text-editors"] diff --git a/crates/language/Cargo.toml b/crates/language/Cargo.toml index 0463204c..8f64a86d 100644 --- a/crates/language/Cargo.toml +++ b/crates/language/Cargo.toml @@ -8,6 +8,7 @@ rust-version = "1.76" readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-language" license.workspace = true keywords.workspace = true categories = ["api-bindings", "development-tools::ffi", "parsing"] diff --git a/crates/loader/Cargo.toml b/crates/loader/Cargo.toml index 9f6efaf5..c6ab32cb 100644 --- a/crates/loader/Cargo.toml +++ b/crates/loader/Cargo.toml @@ -8,6 +8,7 @@ rust-version.workspace = true readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-loader" license.workspace = true keywords.workspace = true categories.workspace = true diff --git a/crates/tags/Cargo.toml b/crates/tags/Cargo.toml index 7eae246b..b82647e9 100644 --- a/crates/tags/Cargo.toml +++ b/crates/tags/Cargo.toml @@ -11,6 +11,7 @@ rust-version.workspace = true readme = "README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter-tags" license.workspace = true keywords = ["incremental", "parsing", "syntax", "tagging"] categories = ["parsing", "text-editors"] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index a72b2d5a..6be362b8 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -8,6 +8,7 @@ rust-version = "1.76" readme = "binding_rust/README.md" homepage.workspace = true repository.workspace = true +documentation = "https://docs.rs/tree-sitter" license.workspace = true keywords.workspace = true categories = [