forked from risc0/zeth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (27 loc) · 819 Bytes
/
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
[workspace]
members = [
"guests",
"host",
"lib",
"primitives",
"testing/ef-tests"
]
# Always optimize; building and running the guest takes much longer without optimization.
[profile.dev]
opt-level = 3
[profile.dev.build-override]
opt-level = 3
[profile.release]
debug = 1
lto = true
[profile.release.build-override]
opt-level = 3
[patch.crates-io]
# use optimized risc0 circuit
crypto-bigint = { git = "https://github.com/risc0/RustCrypto-crypto-bigint", tag = "v0.5.2-risc0" }
k256 = { git = "https://github.com/risc0/RustCrypto-elliptic-curves", tag = "k256/v0.13.1-risc0" }
sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2/v0.10.6-risc0" }
[workspace.dependencies]
bonsai-sdk = "0.3"
risc0-build = "0.17"
risc0-zkvm = { version = "0.17", default-features = false }