build: tweak Cargo.tomls

This commit is contained in:
Amaan Qureshi 2024-10-06 01:36:44 -04:00
parent 099fd4efb7
commit cc2caecf7a
4 changed files with 13 additions and 2 deletions

View file

@ -6,7 +6,7 @@ authors = ["PARSER_AUTHOR_NAME PARSER_AUTHOR_EMAIL"]
license = "PARSER_LICENSE" license = "PARSER_LICENSE"
readme = "README.md" readme = "README.md"
keywords = ["incremental", "parsing", "tree-sitter", "PARSER_NAME"] keywords = ["incremental", "parsing", "tree-sitter", "PARSER_NAME"]
categories = ["parsing", "text-editors"] categories = ["parser-implementations", "parsing", "text-editors"]
repository = "PARSER_URL" repository = "PARSER_URL"
edition = "2021" edition = "2021"
autoexamples = false autoexamples = false

View file

@ -10,7 +10,12 @@ homepage.workspace = true
repository.workspace = true repository.workspace = true
license.workspace = true license.workspace = true
keywords.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" build = "binding_rust/build.rs"
links = "tree-sitter" links = "tree-sitter"

View file

@ -5,10 +5,12 @@ version = "0.1.2"
authors.workspace = true authors.workspace = true
edition.workspace = true edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
readme = "README.md"
homepage.workspace = true homepage.workspace = true
repository.workspace = true repository.workspace = true
license.workspace = true license.workspace = true
keywords.workspace = true keywords.workspace = true
categories = ["api-bindings", "development-tools::ffi", "parsing"]
[lib] [lib]
path = "language.rs" path = "language.rs"

4
lib/language/README.md Normal file
View file

@ -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.