diff --git a/cli/src/templates/_cargo.toml b/cli/src/templates/_cargo.toml index 04540d34..ea8dc12e 100644 --- a/cli/src/templates/_cargo.toml +++ b/cli/src/templates/_cargo.toml @@ -6,7 +6,7 @@ authors = ["PARSER_AUTHOR_NAME PARSER_AUTHOR_EMAIL"] license = "PARSER_LICENSE" readme = "README.md" keywords = ["incremental", "parsing", "tree-sitter", "PARSER_NAME"] -categories = ["parsing", "text-editors"] +categories = ["parser-implementations", "parsing", "text-editors"] repository = "PARSER_URL" edition = "2021" autoexamples = false diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 3f3d4fd9..6c4381b8 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -10,7 +10,12 @@ homepage.workspace = true repository.workspace = true license.workspace = true keywords.workspace = true -categories = ["api-bindings", "parsing", "text-editors"] +categories = [ + "api-bindings", + "external-ffi-bindings", + "parsing", + "text-editors", +] build = "binding_rust/build.rs" links = "tree-sitter" diff --git a/lib/language/Cargo.toml b/lib/language/Cargo.toml index 59e5f738..0a68b6ec 100644 --- a/lib/language/Cargo.toml +++ b/lib/language/Cargo.toml @@ -5,10 +5,12 @@ version = "0.1.2" authors.workspace = true edition.workspace = true rust-version.workspace = true +readme = "README.md" homepage.workspace = true repository.workspace = true license.workspace = true keywords.workspace = true +categories = ["api-bindings", "development-tools::ffi", "parsing"] [lib] path = "language.rs" diff --git a/lib/language/README.md b/lib/language/README.md new file mode 100644 index 00000000..ddeabb92 --- /dev/null +++ b/lib/language/README.md @@ -0,0 +1,4 @@ +# Tree-sitter Language + +This crate provides a `LanguageFn` type for grammars to create `Language` instances from a parser, +without having to worry about the `tree-sitter` crate version not matching.