forked from starkware-libs/cairo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
142 lines (137 loc) · 4.43 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
[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."cairo-felt"]
opt-level = 3
[profile.ci-dev.package."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-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-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.6.0"
edition = "2021"
repository = "https://github.com/starkware-libs/cairo/"
license = "Apache-2.0"
license-file = "LICENSE"
[workspace.dependencies]
anyhow = "1.0.75"
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-felt = { git = "https://github.com/kasarlabs/cairo-vm.git", branch = "feature/scale-codec", features = ["parity-scale-codec"]}
cairo-vm = { git = "https://github.com/kasarlabs/cairo-vm.git", branch = "feature/scale-codec", features = ["parity-scale-codec"]}
clap = { version = "4.4", features = ["derive"] }
colored = "2"
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.10.0"
genco = "0.17.8"
good_lp = { version = "1.7.0", features = ["minilp"], default-features = false }
hashbrown = "0.14.3"
id-arena = "2.2.1"
ignore = "0.4.20"
indent = "0.1.1"
indexmap = { version = "2.1.0", default-features = false }
indoc = "2.0.4"
itertools = { version = "0.11.0", default-features = false }
keccak = "0.1.4"
lalrpop-util = { version = "0.20.0", features = ["lexer"] }
log = "0.4"
num-bigint = { version = "0.4", default-features = false }
num-integer = "0.1"
num-traits = { version = "0.2", default-features = false }
once_cell = "1.18.0"
parity-scale-codec = { version = "3.6.5", default-features = false, features = ["derive"] }
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
path-clean = "1.0.1"
pretty_assertions = "1.4.0"
proc-macro2 = "1.0"
quote = "1.0.33"
rayon = "1.8.0"
rstest = "0.18.2"
salsa = "0.16.1"
schemars = { version = "0.8.15", features = ["preserve_order"] }
serde = { version = "1.0.192", default-features = false, features = ["derive"] }
serde_json = "1.0"
sha3 = "0.10.8"
smol_str = { version = "0.2.0", features = ["serde"] }
starknet-crypto = "0.6.1"
syn = { version = "2.0.39", features = ["full", "extra-traits"] }
test-case = "3.2.1"
test-case-macros = "3.2.1"
test-log = "0.2.13"
thiserror = "1.0.50"
time = { version = "0.3.30", features = [
"formatting",
"macros",
"local-offset",
] }
tokio = { version = "1.33.0", features = ["full", "sync"] }
toml = "0.8.8"
unescaper = "0.1.2"
xshell = "0.2.5"