Skip to content

Commit

Permalink
Add rust's config
Browse files Browse the repository at this point in the history
  • Loading branch information
kavitharaju committed Dec 31, 2024
1 parent cf4fe42 commit e7ffedc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ typings/
*/bindings/
tree-sitter-usfm3/src/
*/binding.gyp
*/Cargo.toml
*/*.wasm

*/.ipynb_checkpoints/
Expand Down
23 changes: 23 additions & 0 deletions tree-sitter-usfm3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "tree-sitter-usfm3"
description = "Tree-sitter grammar for USFM"
version = "3.0.0-alpha.1"
license = "MIT"
readme = "Readme-rust.md"
keywords = ["incremental", "parsing", "tree-sitter", "usfm3"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/Bridgeconn/usfm-grammar"
edition = "2021"
autoexamples = false

build = "bindings/rust/build.rs"
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]

[lib]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = ">=0.22.6"

[build-dependencies]
cc = "1.0.87"

0 comments on commit e7ffedc

Please sign in to comment.