-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (36 loc) · 1.01 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
[package]
name = "zg-vc-rpc"
version = "0.1.0"
edition = "2021"
default-run = "zg-vc-rpc"
[dependencies]
vc-prove = { git = "https://github.com/0glabs/0g-vc.git" }
num-bigint = { version = "=0.4.3", default-features = false, features = ["rand"] }
num-traits = { version = "=0.2.15", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.13"
const-hex = "1.12.0"
ark-groth16 = "0.4"
ark-ff = "0.4.1"
ark-circom = "0.1"
ark-serialize = "0.4"
ark-ec = "0.4.1"
ark-bn254 = "0.4"
ark-std = "0.4"
chrono = "0.4"
hex = "0.4"
rand = "0.8"
rand_xorshift = "0.3"
tiny-keccak = "2.0"
keccak-hash = "0.10.0"
eyre = "0.6"
jsonrpsee = {version = "0.24.2", features = ["full"]}
tokio = { version = "1.39.2", features = ["full"] }
anyhow = "1.0.86"
bytes = "1.7.1"
[features]
cuda = ["vc-prove/cuda"]
[patch.crates-io]
ark-groth16 = { git = "https://github.com/0glabs/0g-groth16-gpu.git", rev = "624806e" }
ark-circom = { git = "https://github.com/0glabs/circom-compat.git", rev = "87b8855"}