-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
52 lines (44 loc) · 1.54 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
[package]
name = "zeropool-near-pool"
version = "1.0.0"
authors = ["Dmitry Vdovin <[email protected]>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
borsh = "0.9.3"
near-sdk = { git = "https://github.com/zeropoolnetwork/near-sdk-rs", branch = "feature/alt_bn128_new", features = ["unstable"] }
near-contract-standards = { git = "https://github.com/zeropoolnetwork/near-sdk-rs", branch = "feature/alt_bn128_new" }
ed25519-dalek = "1.0.1"
num-derive = "0.3.3"
num-traits = "0.2.15"
ff-uint = { version = "0.2.4", default-features = false }
serde = "1.0.145"
serde_json = { version = "1.0.73", optional = true }
near-halo2-verifier = { git = "https://github.com/zeropoolnetwork/near-halo2-verifier", branch = "master", optional = true }
getrandom = { version = "0.2", features = ["custom"] }
[profile.release]
codegen-units = 1
opt-level = "z"
lto = true
debug = false
panic = "abort"
overflow-checks = true
[profile.dev.package."*"]
opt-level = 3
[dev-dependencies]
hex-literal = "0.3.4"
libzeropool-rs = { version = "0.8.1", features = ["multicore"] }
near-crypto = "0.14.0"
[features]
default = ["borsh_support"]
groth16 = []
plonk = ["near-halo2-verifier"]
ft = ["serde_json"]
borsh_support = ["ff-uint/borsh_support"]
rand_support = ["ff-uint/rand_support"]
heavy_tests = []
[patch.crates-io]
parity-secp256k1 = { git = "https://github.com/paritytech/rust-secp256k1" }
[patch."https://github.com/privacy-scaling-explorations/halo2curves"]
halo2curves = { git = "https://github.com/zeropoolnetwork/halo2curves", branch = "zeropool-near" }