-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
68 lines (60 loc) · 1.73 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "dotlr"
description = "An LR(1) parser generator and visualizer created for educational purposes."
categories = ["algorithms", "parsing"]
keywords = ["educational", "lalr-parsing", "lr-parsing", "parser-generator"]
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [
"Umut Şahin <[email protected]>",
"Specy <[email protected]>",
]
[dependencies]
clap = { version = "4.5", optional = true, features = ["derive"] }
console_error_panic_hook = { version = "0.1.1", optional = true }
dirs = { version = "5.0", optional = true }
indexmap = { version = "2.3" }
itertools = { version = "0.13" }
logos = { version = "0.14" }
prettytable-rs = { version = "0.10" }
ptree = { version = "0.5" }
regex = { version = "1.10" }
rustyline = { version = "14.0", optional = true }
serde_renamed = { package = "serde", version = "1.0", features = ["derive"], optional = true }
serde-wasm-bindgen = { version = "0.6.5", optional = true }
smallvec = { version = "1.13" }
smol_str = { version = "0.3" }
thiserror = { version = "1.0" }
wasm-bindgen = { version = "0.2.83", optional = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
colored = { version = "2.1" }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[features]
default = ["repl"]
repl = ["clap", "dirs", "rustyline"]
serde = [
"indexmap/serde",
"serde_renamed",
"smol_str/serde",
"smallvec/serde",
]
wasm = [
"console_error_panic_hook",
"serde",
"serde-wasm-bindgen",
"wasm-bindgen",
]
[profile.release]
lto = "fat"
codegen-units = 1
[lints.clippy]
result_large_err = "allow"
[lib]
crate-type = ["cdylib", "rlib"]
bench = false
doctest = false
[[bench]]
name = "main"
harness = false