# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91"
name = "lutra-compiler"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler for Lutra query language"
readme = false
license = "Apache-2.0"
repository = "https://codeberg.org/lutra/lutra/"
resolver = "2"

[features]
default = []

[lib]
name = "lutra_compiler"
path = "src/lib.rs"
doctest = false
bench = false

[[bench]]
name = "compiler"
path = "benches/compiler.rs"
harness = false

[dependencies.append-only-vec]
version = "0.1.7"

[dependencies.ariadne]
version = "0.4.1"

[dependencies.chrono]
version = "0.4.42"
default-features = false

[dependencies.chumsky]
version = "0.12"
features = [
    "std",
    "pratt",
]
default-features = false

[dependencies.clap]
version = "4.4.18"
features = ["derive"]
optional = true

[dependencies.enum-as-inner]
version = "0.6.1"

[dependencies.indexmap]
version = "2.6.0"

[dependencies.itertools]
version = "0.13.0"

[dependencies.lutra-bin]
version = "0.5"
features = ["std"]
default-features = false

[dependencies.lutra-sql]
version = "0.5"

[dependencies.strum]
version = "0.26.3"
features = [
    "std",
    "derive",
]

[dependencies.thiserror]
version = "2"
default-features = true

[dependencies.tracing]
version = "0.1"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1.40.0"
