-
Notifications
You must be signed in to change notification settings - Fork 50
/
Cargo.toml
138 lines (119 loc) · 3.05 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# =========== Workspace configuration ===========
[workspace]
members = [
"calyx-ir",
"calyx-utils",
"calyx-opt",
"calyx-frontend",
"calyx-stdlib",
"calyx-backend",
"calyx-lsp",
"interp",
"web/rust",
"tools/data_gen",
"cider-dap",
"fud2",
"fud2/fud-core",
"tools/data-conversion",
"tools/calyx-pass-explorer",
"tools/cider-data-converter",
"tools/component_cells",
"tools/yxi",
"tools/calyx-writer",
]
exclude = ["site"]
[workspace.package]
authors = ["The Calyx Team"]
license-file = "LICENSE"
keywords = ["ir", "compiler"]
repository = "https://github.com/calyxir/calyx"
readme = "README.md"
description = "Compiler Infrastructure for Hardware Accelerator Generation"
categories = ["compilers"]
homepage = "https://calyxir.org"
edition = "2021"
version = "0.7.1"
rust-version = "1.67"
[workspace.dependencies]
itertools = "0.11"
atty = "0.2"
log = "0.4"
string-interner = "0.14.0"
lazy_static = "1"
linked-hash-map = "0.5"
smallvec = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_sexpr = "0.1.0"
serde_with = "3"
pest = "2"
pest_derive = "2"
pest_consume = "1"
argh = "0.1"
anyhow = "1"
calyx-utils = { path = "calyx-utils", version = "0.7.1" }
calyx-ir = { path = "calyx-ir", version = "0.7.1" }
calyx-frontend = { path = "calyx-frontend", version = "0.7.1" }
calyx-opt = { path = "calyx-opt", version = "0.7.1" }
calyx-backend = { path = "calyx-backend", version = "0.7.1" }
[workspace.dependencies.petgraph]
version = "0.6"
default-features = false
features = ["matrix_graph"]
[workspace.dependencies.env_logger]
version = "0.9.0"
features = ["termcolor", "atty"]
default-features = false
# =========== Package configuration ===========
[package]
name = "calyx"
default-run = "calyx"
version.workspace = true
edition.workspace = true
description.workspace = true
authors.workspace = true
license-file.workspace = true
keywords.workspace = true
repository.workspace = true
homepage.workspace = true
categories.workspace = true
readme.workspace = true
rust-version.workspace = true
build = "src/build.rs"
[[bin]]
name = "calyx"
path = "src/main.rs"
[features]
default = []
serialize = ["calyx-ir/serialize", "serde/rc", "calyx-backend/sexp"]
[build-dependencies]
calyx-stdlib = { path = "calyx-stdlib", version = "0.7.1" }
[dependencies]
atty.workspace = true
itertools.workspace = true
log.workspace = true
serde.workspace = true
argh.workspace = true
env_logger.workspace = true
calyx-utils.workspace = true
calyx-ir.workspace = true
calyx-frontend.workspace = true
calyx-opt.workspace = true
[dependencies.calyx-backend]
workspace = true
features = ["mlir", "resources", "xilinx"]
[profile.release]
lto = "thin"
# = ========== Benchmarks ===========
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
calyx-ir = { path = "calyx-ir" }
calyx-opt = { path = "calyx-opt" }
calyx-frontend = { path = "calyx-frontend" }
[[bench]]
name = "component-sharing"
harness = false
[profile.test.package.proptest]
opt-level = 3
[profile.test.package.rand_chacha]
opt-level = 3