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

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

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.