[package] name = "lelwel" version = "0.6.4" description = "Resilient LL(1) parser generator" repository = "https://github.com/0x2a-42/lelwel" readme = "README.md" license = "MIT OR Apache-2.0" edition = "2021" keywords = ["parser", "generator", "LL", "grammar"] categories = ["parsing"] [dependencies] logos = "0.14.2" codespan-reporting = "0.11.1" codespan-lsp = { version = "0.11.1", optional = true } tokio = { version = "1.40", features = ["io-std", "macros", "rt", "rt-multi-thread"], optional = true } clap = { version = "4.5", features = ["cargo"], optional = true } lsp-types = { version = "0.88.0", optional = true } tower-lsp = { version = "0.20.0", optional = true } wasm-bindgen = { version = "0.2.93", optional = true } [features] cli = ["clap"] lsp = ["tokio", "tower-lsp", "codespan-lsp", "lsp-types"] wasm = ["wasm-bindgen"] [[bin]] name = "llw" required-features = ["cli"] [[bin]] name = "lelwel-ls" required-features = ["lsp"] [lib] crate-type = ["lib", "cdylib"] [workspace] members = [ "examples/c", "examples/calc", "examples/json", "examples/l", "examples/lua", "examples/oberon0", ]