forked from lambdaclass/cairo-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (67 loc) · 2.87 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
[workspace]
members = [
"cairo-vm-cli",
"felt",
"vm",
"hint_accountant",
"./deps/parse-hyperlinks",
]
exclude = ["ensure-no_std"]
[workspace.dependencies]
mimalloc = { version = "0.1.29", default-features = false }
num-bigint = { version = "0.4", default-features = false, features = [
"serde",
"rand",
] }
rand = { version = "0.8.3", features = ["small_rng"], default-features = false }
num-traits = { version = "0.2", default-features = false }
num-integer = { version = "0.1.45", default-features = false }
serde = { version = "1.0", features = ["derive"], default-features = false }
serde_bytes = { version = "0.11.9", default-features = false, features = [
"alloc",
] }
serde_json = { version = "1.0", features = [
"arbitrary_precision",
"alloc",
], default-features = false }
hex = { version = "0.4.3", default-features = false }
bincode = { version = "2.0.0-rc.2", tag = "v2.0.0-rc.2", git = "https://github.com/bincode-org/bincode.git", default-features = false, features = [
"serde",
] }
starknet-crypto = { version = "0.5.0", default-features = false, features = [
"signature-display",
"alloc",
] }
sha3 = { version = "0.10.1", default-features = false }
rand_core = { version = "0.6.4", default-features = false }
lazy_static = { version = "1.4.0", default-features = false, features = [
"spin_no_std",
] }
nom = { version = "7", default-features = false }
sha2 = { version = "0.10.2", features = ["compress"], default-features = false }
generic-array = { version = "0.14.6", default-features = false }
keccak = { version = "0.1.2", default-features = false }
hashbrown = { version = "0.13.2", features = ["serde"] }
anyhow = { version = "1.0.69", default-features = false }
thiserror = { version = "1.0.32", default-features = false }
thiserror-no-std = { version = "2.0.2", default-features = false }
# This crate has only one function `take_until_unbalanced` that is
# very useful for our parsing purposes:
# https://stackoverflow.com/questions/70630556/parse-allowing-nested-parentheses-in-nom
# There is a proposal for extending nom::delimited to use this function:
# https://github.com/Geal/nom/issues/1253
parse-hyperlinks = { package = "cairo-take_until_unbalanced", path = "./deps/parse-hyperlinks", version = "0.29.0", default-features = false, features = [
"alloc",
] }
felt = { package = "cairo-felt", path = "./felt", version = "0.6.0", default-features = false, features = [
"alloc",
] }
bitvec = { version = "1", default-features = false, features = ["alloc"] }
# Dependencies for cairo-1-hints feature
cairo-lang-starknet = { version = "1.1.0", default-features = false }
cairo-lang-casm = { version = "1.1.0", default-features = false }
# TODO: check these dependencies for wasm compatibility
ark-ff = { version = "0.4.0-alpha.7", default-features = false }
ark-std = { version = "0.3.0", default-features = false }
[profile.release]
lto = "fat"