29 lines
699 B
TOML
29 lines
699 B
TOML
[package]
|
|
name = "lila-parsing"
|
|
version = "0.0.1"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["pest"]
|
|
pest = ["dep:pest", "dep:pest_derive", "dep:lazy_static"]
|
|
tree-sitter = ["dep:tree-sitter", "dep:tree-sitter-lila"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.86"
|
|
lazy_static = { version = "1.4.0", optional = true }
|
|
lila-ast = { path = "../lila-ast" }
|
|
pest = { version = "2.7.4", optional = true }
|
|
pest_derive = { version = "2.7.4", optional = true }
|
|
tree-sitter = { version = "0.22", optional = true }
|
|
|
|
[dependencies.tree-sitter-lila]
|
|
version = "0.0.1"
|
|
optional = true
|
|
git = "https://git.sr.ht/~rpqt/tree-sitter-lila"
|
|
branch = "main"
|
|
|
|
[build-dependencies]
|
|
cc = "*"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1.4.0"
|