fix: align project with upstream layout

This commit is contained in:
maunzCache
2025-03-30 14:02:12 +02:00
committed by Michael Hoffmann
parent 91ab40725d
commit 3a58dc8928
19 changed files with 575 additions and 123 deletions

30
Cargo.toml generated
View File

@@ -1,21 +1,33 @@
[package]
name = "tree-sitter-hcl"
description = "hcl grammar for the tree-sitter parsing library"
description = "HCL grammar for tree-sitter"
version = "0.0.1"
keywords = ["incremental", "parsing", "hcl"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/MichaHoffmann/tree-sitter-hcl"
edition = "2018"
license = "Apache"
license = "Apache-2.0"
readme = "README.md"
keywords = ["incremental", "parsing", "tree-sitter", "hcl"]
categories = ["parser-implementations", "parsing", "text-editors"]
repository = "https://github.com/tree-sitter-grammars/tree-sitter-hcl"
edition = "2021"
autoexamples = false
build = "bindings/rust/build.rs"
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]
include = [
"bindings/rust/*",
"grammar.js",
"queries/*",
"src/*",
"tree-sitter.json",
"LICENSE",
]
[lib]
path = "bindings/rust/lib.rs"
[dependencies]
tree-sitter = "0.25"
tree-sitter-language = "0.1"
[build-dependencies]
cc = "1.0"
cc = "1.2"
[dev-dependencies]
tree-sitter = "0.25"