-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
46 lines (40 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "lelwel"
version = "0.7.1"
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.15"
codespan-reporting = "0.11"
codespan-lsp = { version = "0.11", 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", optional = true }
tower-lsp = { version = "0.20", optional = true }
wasm-bindgen = { version = "0.2", 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",
]