refactor: split project into multiple crates
This commit is contained in:
parent
486af67fc2
commit
857f747524
27 changed files with 308 additions and 222 deletions
29
lila-parsing/Cargo.toml
Normal file
29
lila-parsing/Cargo.toml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue