-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (40 loc) · 1.13 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 = "copper"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = {version = "4.1.8", features = ["derive"], optional = true}
dot = {version = "0.1.4", optional = true}
serde = {version = "1.0.163", features = ["derive", "rc"]}
serde_json = "1.0"
enumset = "1.0.12"
inkwell = {version = "0.2.0", features = ["llvm15-0"], optional = true}
itertools = "0.11.0"
lalrpop-util = "0.20.0"
once_cell = "1.17.1"
rayon = "1.7.0"
regex = "1.7.1"
snailquote = "0.3.1"
strum = {version = "0.25.0", features = ["derive"]}
tracing = "0.1.37"
tracing-subscriber = {version = "0.3.16", features = ["env-filter"]}
vectorize = "0.2.0"
[build-dependencies]
lalrpop = "0.20.0"
[features]
default = []
compile = ["dep:inkwell"]
generate = []
compile-bin = ["compile", "dep:clap"]
generate-bin = ["generate", "dep:clap"]
ast-debug = ["dep:dot"]
ir-debug = []
[[bin]]
name = "copper-compile"
path = "src/bin/compile.rs"
required-features = ["compile-bin"]
[[bin]]
name = "copper-generate"
path = "src/bin/generate.rs"
required-features = ["generate-bin"]