[package]
name = "lutra-compiler"
description = "Compiler for Lutra query language"

edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true

[features]
default = []

[lib]
bench = false
doctest = false

[dependencies]
# discover
walkdir = "2.5.0"

# parser
chumsky = { workspace = true }

# sql backend
lutra-sql = { workspace = true }

# cli
clap = { version = "4.4.18", features = ["derive"], optional = true }

thiserror = { workspace = true, default-features = true }
itertools = { workspace = true }
tracing = { workspace = true }
ariadne = "0.4.1"
enum-as-inner = { workspace = true }
strum = {workspace = true}
indexmap = { workspace = true }
append-only-vec = "0.1.7"
lutra-bin = { workspace = true, features = ["std"] }
chrono = { workspace = true }


[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
insta = { workspace = true }

[[bench]]
name = "compiler"
harness = false
