-
Notifications
You must be signed in to change notification settings - Fork 222
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (63 loc) · 2.2 KB
/
Cargo.toml
File metadata and controls
75 lines (63 loc) · 2.2 KB
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
[workspace]
members = [
"cairo-vm-cli",
"vm",
"hint_accountant",
"cairo1-run",
"cairo-vm-tracer",
"examples/hyper_threading",
]
default-members = ["cairo-vm-cli", "vm", "cairo1-run"]
# Explicitly set the resolver to the default for edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"
[workspace.package]
version = "3.2.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/starkware-libs/cairo-vm/"
readme = "README.md"
keywords = ["starknet", "cairo", "vm"]
[workspace.dependencies]
cairo-vm = { path = "./vm", version = "3.2.0" }
cairo-vm-tracer = { path = "./cairo-vm-tracer", version = "3.2.0" }
mimalloc = { version = "0.1.37", default-features = false }
num-bigint = { version = "0.4", features = ["serde", "rand"] }
rand = { version = "0.8.5", features = ["small_rng"] }
num-traits = { version = "0.2" }
num-integer = { version = "0.1.45" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
hex = { version = "0.4.3" }
starknet-crypto = { version = "0.8.0", features = ["signature-display"] }
sha3 = { version = "0.10.8" }
tracing = { version = "0.1" }
indoc = { version = "2.0.5" }
lazy_static = { version = "1.4.0" }
nom = { version = "7" }
sha2 = { version = "0.10.7", features = ["compress"] }
generic-array = { version = ">=0.14.0, <=0.14.7" }
keccak = { version = "0.1.2" }
anyhow = { version = "1.0.94" }
thiserror = { version = "2" }
bitvec = { version = "1" }
# Dependencies for cairo-1-hints feature
cairo-lang-casm = { version = "2.12.0-dev.0" }
cairo-lang-starknet-classes = { version = "2.12.0-dev.0" }
cairo-lang-compiler = { version = "=2.12.0-dev.0" }
cairo-lang-sierra-to-casm = { version = "2.12.0-dev.0" }
cairo-lang-sierra = { version = "2.12.0-dev.0" }
cairo-lang-runner = { version = "2.12.0-dev.0" }
cairo-lang-utils = { version = "=2.12.0-dev.0" }
ark-ff = { version = "0.4.2" }
ark-std = { version = "0.4.0" }
# For fuzzing
arbitrary = { version = "1.3.0", features = ["derive"] }
[profile.test]
opt-level = 2
[profile.release]
lto = "fat"
[profile.test.package.proptest]
opt-level = 3
[profile.test.package.rand_chacha]
opt-level = 3