-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
66 lines (60 loc) · 2.71 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
[workspace]
members = [
"near_bft_finality",
"crypto/plonky2_ed25519",
"crypto/plonky2_sha512",
"crypto/plonky2_sha256_u32",
"crypto/plonky2_bn128"
, "xtask"]
[workspace.package]
authors = [ "Zpoken" ]
description = "ZKP for NEAR"
edition = "2021"
version = "0.1.0"
[workspace.dependencies]
near-rosetta-rpc = { git = "https://github.com/near/nearcore" }
clap = { version = "4.0.29", features = [ "derive" ] }
num = { version = "0.4", features = [ "rand" ] }
near-crypto = { version = "0.19.0" }
near-primitives = { version = "0.19.0" }
ed25519-compact = { version = "2.0.4" }
anyhow = { version = "1.0.40" }
criterion = { version = "0.3" }
debug_print = { version = "1.0" }
env_logger = { version = "0.9.0" }
hex = { version = "0.4.3" }
itertools = { version = "0.10.5" }
jemallocator = { version = "0.5.0" }
keccak-hash = { version = "0.8.0" }
log = { version = "0.4.14" }
rand_chacha = { version = "0.3.1" }
rayon = { version = "1.5.3" }
serde = { version = "1.0", features = [ "alloc", "derive", "std" ] }
serde_with = { version = "2.2.0", features = [ "hex" ] }
serde_json = { version = "1.0" }
sha2 = { version = "0.10" }
sha3 = { version = "0.10" }
static_assertions = { version = "1.1.0" }
unroll = { version = "0.1.5" }
rand = { version = "0.8.4" }
# Local dependencies
plonky2 = { git = "https://github.com/wormhole-foundation/plonky2-near", rev = "2244a9d802aa74f15c32ca7f4139959c61126819", features = ["parallel"] }
plonky2_field = { git = "https://github.com/wormhole-foundation/plonky2-near", rev = "2244a9d802aa74f15c32ca7f4139959c61126819" }
plonky2_util = { git = "https://github.com/wormhole-foundation/plonky2-near", rev = "2244a9d802aa74f15c32ca7f4139959c61126819" }
plonky2_maybe_rayon = { git = "https://github.com/wormhole-foundation/plonky2-near", rev = "2244a9d802aa74f15c32ca7f4139959c61126819", features = ["parallel"] }
plonky2_u32 = { path = "crypto/plonky2_u32" }
plonky2_ecdsa = { path = "crypto/plonky2_ecdsa" }
plonky2_ed25519 = { path = "crypto/plonky2_ed25519" }
plonky2_sha512 = { path = "crypto/plonky2_sha512" }
plonky2_sha256_u32 = { path = "crypto/plonky2_sha256_u32" }
plonky2_bn128 = { path = "crypto/plonky2_bn128"}
curve25519-dalek = { git = "https://github.com/wormhole-foundation/curve25519-dalek", rev = "8ac0b892c7477ea8f023ec81332420fc4faae595" }
[profile.release]
opt-level = 3
strip = true
lto = true
codegen-units = 1
[profile.bench]
opt-level = 3
[profile.test]
opt-level = 1