-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
86 lines (76 loc) · 1.5 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "yksom"
version = "0.1.0"
authors = ["Laurence Tratt <[email protected]>"]
edition = "2018"
license = "Apache-2.0 OR MIT"
[[bin]]
doc = false
name = "yksom"
[lib]
name = "yksom"
path = "src/lib/mod.rs"
[[test]]
name = "lang_tests"
path = "lang_tests/run.rs"
harness = false
[features]
krun_harness = ["libc"]
[build-dependencies]
cfgrammar = "0.13"
lrlex = "0.13"
lrpar = "0.13"
rerun_except = "1.0"
[dev-dependencies]
serial_test = "3"
lang_tester = "0.8"
lazy_static = "1.3"
regex = "1.1"
[dependencies]
arrayvec = "0.7"
cfgrammar = "0.13"
getopts = "0.2"
itertools = "0.12"
lrlex = "0.13"
lrpar = "0.13"
natrob = { git="https://github.com/softdevteam/natrob", features=["alloy"] }
num-bigint = "0.4"
num-integer = "0.1"
num_enum = "0.7"
num-traits = "0.2"
ryu = "1.0"
smartstring = "1"
static_assertions = "1.1"
termion = "3"
libc = { version = "0.2", optional = true }
# The main reason for customising the profile.* sections is to force unwind=abort.
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'unwind'
incremental = false
overflow-checks = false
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
panic = 'abort'
incremental = true
overflow-checks = true
[profile.test]
opt-level = 0
debug = 2
rpath = false
lto = false
debug-assertions = true
codegen-units = 16
# Currently, the panic setting is ignored for the 'test' profile.
incremental = true
overflow-checks = true