-
Notifications
You must be signed in to change notification settings - Fork 492
/
Cargo.toml
152 lines (145 loc) · 4.46 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
[profile.release]
overflow-checks = true # Enable integer overflow checks.
[profile.release-with-debug]
inherits = "release"
debug = true
# The profile used for CI in pull requests.
# External dependencies are built with optimization enabled, while crates in this workspace are built
# with `dev` profile and full debug info. This is a trade-off between build time and e2e test time.
[profile.ci-dev]
inherits = "dev"
incremental = false
[profile.ci-dev.package."*"] # external dependencies
opt-level = 1
[profile.ci-dev.package."tokio"]
opt-level = 3
[profile.ci-dev.package."bimap"]
opt-level = 3
[profile.ci-dev.package."rust-analyzer-salsa"]
opt-level = 3
[workspace]
resolver = "2"
members = [
"crates/cairo-lang-casm",
"crates/cairo-lang-compiler",
"crates/cairo-lang-debug",
"crates/cairo-lang-defs",
"crates/cairo-lang-diagnostics",
"crates/cairo-lang-doc",
"crates/cairo-lang-eq-solver",
"crates/cairo-lang-filesystem",
"crates/cairo-lang-formatter",
"crates/cairo-lang-language-server",
"crates/cairo-lang-lowering",
"crates/cairo-lang-parser",
"crates/cairo-lang-plugins",
"crates/cairo-lang-proc-macros",
"crates/cairo-lang-project",
"crates/cairo-lang-runnable-utils",
"crates/cairo-lang-runnable",
"crates/cairo-lang-runner",
"crates/cairo-lang-semantic",
"crates/cairo-lang-sierra",
"crates/cairo-lang-sierra-ap-change",
"crates/cairo-lang-sierra-gas",
"crates/cairo-lang-sierra-generator",
"crates/cairo-lang-sierra-to-casm",
"crates/cairo-lang-sierra-type-size",
"crates/cairo-lang-starknet",
"crates/cairo-lang-starknet-classes",
"crates/cairo-lang-syntax",
"crates/cairo-lang-syntax-codegen",
"crates/cairo-lang-test-plugin",
"crates/cairo-lang-test-runner",
"crates/cairo-lang-utils",
"crates/bin/cairo-compile",
"crates/bin/cairo-format",
"crates/bin/cairo-language-server",
"crates/bin/cairo-run",
"crates/bin/cairo-test",
"crates/bin/generate-syntax",
"crates/bin/sierra-compile",
"crates/bin/starknet-compile",
"crates/bin/starknet-sierra-compile",
"crates/bin/starknet-sierra-extract-code",
"crates/bin/get-lowering",
"crates/bin/starknet-sierra-upgrade-validate",
"tests",
]
exclude = ["ensure-no_std"]
[workspace.package]
version = "2.8.4"
edition = "2021"
repository = "https://github.com/starkware-libs/cairo/"
license = "Apache-2.0"
license-file = "LICENSE"
[workspace.dependencies]
anyhow = "1.0.83"
ark-ff = "0.4.2"
ark-secp256k1 = "0.4.0"
ark-secp256r1 = "0.4.0"
ark-std = "0.4.0"
assert_matches = "1.5"
bimap = "0.6.3"
cairo-vm = { version = "1.0.1", features = ["mod_builtin"]}
clap = { version = "4.5.4", features = ["derive"] }
colored = "2.1.0"
const-fnv1a-hash = "1.1.0"
const_format = "0.2.32"
convert_case = "0.6.0"
derivative = "2.2.0"
diffy = "0.3.0"
env_logger = "0.11.3"
genco = "0.17.8"
good_lp = { version = "1.8.1", features = ["minilp"], default-features = false }
hashbrown = "0.14.5"
id-arena = "2.2.1"
ignore = "0.4.22"
indent = "0.1.1"
indexmap = { version = "2.2.6", default-features = false }
indoc = "2.0.5"
itertools = { version = "0.12.1", default-features = false }
keccak = "0.1.5"
lalrpop-util = { version = "0.20.2", features = ["lexer"] }
log = "0.4.21"
num-bigint = { version = "0.4.5", default-features = false }
num-integer = "0.1.46"
num-traits = { version = "0.2.19", default-features = false }
parity-scale-codec = { version = "3.6.9", default-features = false, features = [
"derive",
] }
path-clean = "1.0.1"
pretty_assertions = "1.4.0"
proc-macro2 = "1.0.82"
quote = "1.0.36"
rand = "0.8.5"
rayon = "1.10.0"
rstest = "0.19.0"
salsa = { package = "rust-analyzer-salsa", version = "0.17.0-pre.6" }
schemars = { version = "0.8.19", features = ["preserve_order"] }
semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0.200", default-features = false, features = ["derive"] }
serde_json = "1.0.116"
sha2 = "0.10.8"
sha3 = "0.10.8"
smol_str = { version = "0.2.0", features = ["serde"] }
starknet-types-core = { version = "0.1.0", features = [
"hash",
"prime-bigint",
"serde",
] }
syn = { version = "2.0.61", features = ["full", "extra-traits"] }
test-case = "3.3.1"
test-case-macros = "3.3.1"
test-log = "0.2.16"
thiserror = "1.0.60"
time = { version = "0.3.36", features = [
"formatting",
"macros",
"local-offset",
] }
tokio = { version = "1.37.0", features = ["full", "sync"] }
toml = "0.8.12"
unescaper = "0.1.2"
xshell = "0.2.6"
openssl = { version = "0.10.35" }