[package]
name = "lex-core"
version = "0.10.6"
edition = "2021"
authors = ["lex contributors"]
description = "Parser library for the lex format"
license = "MIT"
repository = "https://github.com/lex-fmt/lex"
keywords = ["parser", "format", "lex"]
categories = ["parsing", "text-processing"]

[lib]
# Disable doctests for the library; docs contain lex examples that aren't Rust
doctest = false

[features]
# Expose test fixtures (MemoryLoader, etc.) so downstream crates' tests can
# exercise APIs that take injected dependencies.
test-support = []

[dependencies]
logos = "0.16"
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
regex = { workspace = true }
once_cell = { workspace = true }
polymath-rs = "0.1.2"

[dev-dependencies]
proptest = { workspace = true }
insta = { workspace = true }
trybuild = "1.0"
tempfile = { workspace = true }
