refactor: split project into multiple crates

This commit is contained in:
Romain Paquet 2025-11-05 20:23:17 +01:00
parent 486af67fc2
commit 857f747524
27 changed files with 308 additions and 222 deletions

View file

@ -1,34 +1,13 @@
[package]
name = "lilac"
[workspace]
resolver = "3"
members = [
"lila",
"lila-ast",
"lila-checking",
"lila-cli",
"lila-jit",
"lila-parsing",
]
[workspace.package]
version = "0.0.1"
edition = "2021"
[features]
default = ["pest"]
pest = ["dep:pest", "dep:pest_derive"]
tree-sitter = ["dep:tree-sitter", "dep:tree-sitter-lila"]
[dependencies]
clap = { version = "4.5.7", features = ["derive"] }
cranelift = "0.109.0"
cranelift-jit = "0.109.0"
cranelift-module = "0.109.0"
cranelift-native = "0.109.0"
lazy_static = "1.4.0"
pest = { version = "2.7.4", optional = true }
pest_derive = { version = "2.7.4", optional = true }
tree-sitter = { version = "0.22", optional = true }
ariadne = "0.4.1"
anyhow = "1.0.86"
[dependencies.tree-sitter-lila]
version = "0.0.1"
optional = true
git = "https://git.sr.ht/~rpqt/tree-sitter-lila"
branch = "main"
[dev-dependencies]
pretty_assertions = "1.4.0"
[build-dependencies]
cc = "*"