-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (45 loc) · 1.04 KB
/
Cargo.toml
File metadata and controls
54 lines (45 loc) · 1.04 KB
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
[package]
name = "pred-recdec"
version = "0.3.0"
edition = "2024"
authors = ["<wareya@gmail.com>"]
license = "MIT OR Apache-2.0 OR CC0-1.0 OR 0BSD"
keywords = ["parsing", "parser"]
repository = "https://github.com/wareya/pred_recdec/"
categories = ["parsing"]
description = "Predicated Recursive Descent Parsing with BNF and impure hooks"
include = ["/src"]
[lib]
name = "pred_recdec"
path = "src/lib.rs"
[[bin]]
name = "pred_recdec"
path = "src/main.rs"
test = false
required-features = ["build_binaries"]
[[bin]]
name = "c_parser_test"
path = "src/c.rs"
test = false
required-features = ["build_binaries"]
[dependencies]
regex = "=1.8" # much faster than any other version series
rustc-hash = "2.1.1"
mimalloc = { version = "0.1.48", optional = true }
[lints.clippy]
all = "allow"
complexity = "warn"
perf = "warn"
suspicious = "warn"
correctness = "deny"
[profile.release]
opt-level = 3
debug = true
#lto = "fat"
[features]
parse_trace = []
deep_errors = []
build_binaries = ["mimalloc"]
[dev-dependencies]
serde_json = "1.0.149"
simd-json = "0.17.0"