-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
137 lines (124 loc) · 4.97 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
[workspace.package]
version = "0.2.0-alpha"
edition = "2021"
rust-version = "1.82"
authors = ["OpenVM contributors"]
homepage = "https://openvm.dev"
repository = "https://github.com/openvm-org/"
[workspace]
members = ["crates/stark-backend", "crates/stark-sdk"]
resolver = "2"
# Fastest runtime configuration
[profile.release]
opt-level = 3
lto = "thin"
debug = "line-tables-only"
strip = true
panic = "unwind"
codegen-units = 16
[profile.profiling]
inherits = "release"
debug = 2
strip = false
# Make sure debug symbols are in the bench profile for flamegraphs
[profile.bench]
inherits = "profiling"
# This will compile slowly
[profile.maxperf]
inherits = "release"
lto = "fat"
codegen-units = 1
[profile.dev]
opt-level = 1
# For O1 optimization but still fast(ish) compile times
[profile.fast]
inherits = "dev"
debug-assertions = true
# better recompile times
incremental = true
lto = "thin"
[workspace.dependencies]
# OpenVM
openvm-stark-backend = { path = "crates/stark-backend", default-features = false }
openvm-stark-sdk = { path = "crates/stark-sdk", default-features = false }
# Plonky3
p3-air = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-field = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-commit = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-matrix = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-baby-bear = { git = "https://github.com/Plonky3/Plonky3.git", features = [
"nightly-features",
], rev = "b0591e9" }
p3-util = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-challenger = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-dft = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-fri = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-goldilocks = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-keccak = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-keccak-air = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-blake3 = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-mds = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-merkle-tree = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-monty-31 = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-poseidon = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-poseidon2 = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-symmetric = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-uni-stark = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
p3-maybe-rayon = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" } # the "parallel" feature is NOT on by default to allow single-threaded benchmarking
# Bn254 support
p3-bn254-fr = { git = "https://github.com/Plonky3/Plonky3.git", rev = "b0591e9" }
zkhash = { git = "https://github.com/HorizenLabs/poseidon2.git", rev = "bb476b9" }
ff = { version = "0.13.0", default-features = false }
rayon = "1.10"
parking_lot = "0.12.2"
tracing = "0.1.40"
serde_json = "1.0.117"
lazy_static = "1.5.0"
once_cell = "1.19.0"
derive-new = "0.6.0"
derive_more = "1.0.0"
derivative = "2.2.0"
strum_macros = "0.26.4"
strum = { version = "0.26.3", features = ["derive"] }
enum-utils = "0.1.1"
backtrace = "0.3.71"
metrics = "0.23.0"
cfg-if = "1.0.0"
inferno = "0.11.21"
test-case = "3.3.1"
test-log = "0.2.16"
enum_dispatch = "0.3.13"
eyre = "0.6.12"
tempfile = "3.13.0"
thiserror = "1.0.65"
rustc-hash = "2.0.0"
static_assertions = "1.1.0"
async-trait = "0.1.83"
getset = "0.1.3"
rand = { version = "0.8.5", default-features = false }
hex = { version = "0.4.3", default-features = false }
# default-features = false for no_std
itertools = { version = "0.13.0", default-features = false }
serde = { version = "1.0.201", default-features = false, features = ["derive"] }
# For local development. Add to your `.cargo/config.toml`
# [patch."https://github.com/Plonky3/Plonky3.git"]
# p3-air = { path = "../Plonky3/air" }
# p3-field = { path = "../Plonky3/field" }
# p3-commit = { path = "../Plonky3/commit" }
# p3-matrix = { path = "../Plonky3/matrix" }
# p3-baby-bear = { path = "../Plonky3/baby-bear" }
# p3-util = { path = "../Plonky3/util" }
# p3-challenger = { path = "../Plonky3/challenger" }
# p3-dft = { path = "../Plonky3/dft" }
# p3-fri = { path = "../Plonky3/fri" }
# p3-goldilocks = { path = "../Plonky3/goldilocks" }
# p3-keccak = { path = "../Plonky3/keccak" }
# p3-keccak-air = { path = "../Plonky3/keccak-air" }
# p3-blake3 = { path = "../Plonky3/blake3" }
# p3-mds = { path = "../Plonky3/mds" }
# p3-merkle-tree = { path = "../Plonky3/merkle-tree" }
# p3-poseidon2 = { path = "../Plonky3/poseidon2" }
# p3-symmetric = { path = "../Plonky3/symmetric" }
# p3-uni-stark = { path = "../Plonky3/uni-stark" }
# p3-maybe-rayon = { path = "../Plonky3/maybe-rayon" }
# p3-bn254-fr = { path = "../Plonky3/bn254-fr" }