Generate bindings

This commit is contained in:
Logan Wemyss
2022-06-18 04:40:10 -06:00
committed by Michael Hoffmann
parent a4164c4086
commit 45ce22c16e
7 changed files with 181 additions and 0 deletions

26
Cargo.toml Normal file
View File

@@ -0,0 +1,26 @@
[package]
name = "tree-sitter-hcl"
description = "hcl grammar for the tree-sitter parsing library"
version = "0.0.1"
keywords = ["incremental", "parsing", "hcl"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/MichaHoffmann/tree-sitter-hcl"
edition = "2018"
license = "Apache"
build = "bindings/rust/build.rs"
include = [
"bindings/rust/*",
"grammar.js",
"queries/*",
"src/*",
]
[lib]
path = "bindings/rust/lib.rs"
[dependencies]
tree-sitter = "~0.20"
[build-dependencies]
cc = "1.0"