-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
160 lines (146 loc) · 5.48 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
[workspace]
resolver = "2"
members = [
"codegen/*",
"frontend-wasm",
"hir",
"hir-analysis",
"hir-macros",
"hir-symbol",
"hir-transform",
"hir-type",
"midenc",
"midenc-compile",
"midenc-debug",
"midenc-driver",
"midenc-session",
"sdk/*",
"tools/*",
"tests/integration",
]
exclude = [
"sdk/.cargo",
"tests/rust-apps/fib",
"tests/rust-apps-wasm",
"cargo-ext/tests/data",
]
[workspace.package]
version = "0.0.7"
rust-version = "1.80"
authors = ["Miden contributors"]
description = "An intermediate representation and compiler for Miden Assembly"
repository = "https://github.com/0xPolygonMiden/compiler"
homepage = "https://github.com/0xPolygonMiden/compiler"
documentation = "https://github.com/0xPolygonMiden/compiler"
categories = ["compilers"]
keywords = ["compiler", "miden"]
license = "MIT"
readme = "README.md"
edition = "2021"
publish = false
[workspace.dependencies]
anyhow = "1.0"
bitflags = "2.4"
bitcode = { version = "0.6.3", default-features = false, features = ["serde"] }
clap = { version = "4.1", default-features = false, features = [
"derive",
"std",
"env",
"help",
] }
cranelift-entity = "0.108"
cranelift-bforest = "0.108"
env_logger = "0.11"
either = { version = "1.10", default-features = false }
expect-test = "1.4.1"
Inflector = "0.11"
intrusive-collections = "0.9"
inventory = "0.3"
log = "0.4"
miette = { package = "miden-miette", version = "7.1.1" }
#miette = { version = "7.1", git = "https://github.com/bitwalker/miette", branch = "no-std" }
paste = "1.0"
parking_lot = "0.12"
parking_lot_core = "0.9"
petgraph = "0.6"
pretty_assertions = "1.0"
proptest = "1.4"
rustc-hash = "1.1"
serde = { version = "1.0.208", features = ["serde_derive", "alloc", "rc"] }
serde_repr = "0.1.19"
serde_bytes = "0.11.15"
smallvec = { version = "1.13", features = [
"union",
"const_generics",
"const_new",
"drain_filter",
] }
smallstr = { version = "0.3", features = ["union"] }
thiserror = { package = "miden-thiserror", version = "1.0" }
#thiserror = { version = "1.0", git = "https://github.com/bitwalker/thiserror", branch = "no-std" }
toml = { version = "0.8", features = ["preserve_order"] }
derive_more = "0.99"
indexmap = "2.2"
# miden-assembly = { version = "0.10.3" }
# miden-core = { version = "0.10.3" }
miden-parsing = "0.1"
# miden-processor = { version = "0.10.3" }
# miden-stdlib = { version = "0.10.3", features = ["with-debug-info"] }
# miden-assembly = { version = "0.11.0", path = "../vm-aux/assembly" }
# miden-core = { version = "0.11.0", path = "../vm-aux/core" }
# miden-processor = { version = "0.11.0", path = "../vm-aux/processor" }
# miden-stdlib = { version = "0.11.0", path = "../vm-aux/stdlib" }
# miden-package = { version = "0.11.0", path = "../vm-aux/package" }
miden-assembly = { version = "0.11.0", git = "https://github.com/0xPolygonMiden/miden-vm", rev = "75bd636a6b83fd6cb134b0981663aa28e49a811c" }
miden-core = { version = "0.11.0", git = "https://github.com/0xPolygonMiden/miden-vm", rev = "75bd636a6b83fd6cb134b0981663aa28e49a811c" }
miden-processor = { version = "0.11.0", git = "https://github.com/0xPolygonMiden/miden-vm", rev = "75bd636a6b83fd6cb134b0981663aa28e49a811c" }
miden-stdlib = { version = "0.11.0", git = "https://github.com/0xPolygonMiden/miden-vm", rev = "75bd636a6b83fd6cb134b0981663aa28e49a811c", features = [
"with-debug-info",
] }
miden-package = { version = "0.11.0", git = "https://github.com/0xPolygonMiden/miden-vm", rev = "75bd636a6b83fd6cb134b0981663aa28e49a811c" }
#miden-assembly = { git = "https://github.com/0xPolygonMiden/miden-vm", rev = "828557c28ca1d159bfe42195e7ea73256ce4aa06" }
#miden-core = { git = "https://github.com/0xPolygonMiden/miden-vm", rev = "828557c28ca1d159bfe42195e7ea73256ce4aa06" }
#miden-processor = { git = "https://github.com/0xPolygonMiden/miden-vm", rev = "828557c28ca1d159bfe42195e7ea73256ce4aa06" }
#miden-stdlib = { git = "https://github.com/0xPolygonMiden/miden-vm", rev = "828557c28ca1d159bfe42195e7ea73256ce4aa06" }
midenc-codegen-masm = { version = "0.0.7", path = "codegen/masm" }
midenc-hir = { version = "0.0.7", path = "hir" }
midenc-hir-analysis = { version = "0.0.7", path = "hir-analysis" }
midenc-hir-macros = { version = "0.0.7", path = "hir-macros" }
midenc-hir-symbol = { version = "0.0.7", path = "hir-symbol" }
midenc-hir-transform = { version = "0.0.7", path = "hir-transform" }
midenc-hir-type = { version = "0.0.7", path = "hir-type" }
midenc-frontend-wasm = { version = "0.0.7", path = "frontend-wasm" }
midenc-compile = { version = "0.0.7", path = "midenc-compile" }
midenc-driver = { version = "0.0.7", path = "midenc-driver" }
midenc-debug = { version = "0.0.7", path = "midenc-debug" }
midenc-session = { version = "0.0.7", path = "midenc-session" }
cargo-miden = { version = "0.0.7", path = "tools/cargo-miden" }
miden-integration-tests = { version = "0.0.0", path = "tests/integration" }
wat = "1.0.69"
blake3 = "1.5"
tokio = { version = "1.39.2", features = ["rt", "time", "macros"] }
tokio-util = "0.7.11"
[profile.dev]
lto = false
# Needed for 'inventory' to work
codegen-units = 1
[profile.release]
opt-level = 2
debug = true
codegen-units = 1
lto = "thin"
# The following crates are always built with optimizations
[profile.test.package.proptest]
opt-level = 3
[profile.test.package.rand_chacha]
opt-level = 3
[profile.dev.package.expect-test]
opt-level = 3
[profile.dev.package.dissimilar]
opt-level = 3
[profile.dev.package.regex-syntax]
opt-level = 3
[profile.dev.package.onig]
opt-level = 3
[profile.dev.package.miden-crypto]
opt-level = 3