-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (67 loc) · 2.05 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
[package]
name = "ark-lasso"
# sync up with Arkwork's version
version = "0.4.0"
authors = [
# author of original Spartan paper and code base
"Srinath Setty <srinath@microsoft.com>",
# authors who contributed to the Arkworks Spartan fork
"Zhenfei Zhang <zhenfei.zhang@hotmail.com>",
# authors who contributed to Lasso
"Michael Zhu <mzhu@a16z.com>",
"Sam Ragsdale <sragsdale@a16z.com>",
]
edition = "2021"
description = "LASSO SNARK lookup argument, built on Arkworks"
documentation = "https://github.com/a16z/lasso/README.md"
repository = "https://github.com/a16z/lasso"
license-file = "LICENSE"
keywords = ["zkSNARKs", "cryptography", "proofs"]
[dependencies]
merlin = "3.0.0"
rand = "0.7.3"
digest = "0.8.1"
sha3 = "0.8.2"
rayon = { version = "1.3.0", optional = true }
subtle = { version = "2.4", default-features = false }
rand_core = { version = "0.5", default-features = false }
zeroize = { version = "1", default-features = false }
itertools = "0.10.0"
colored = "2.0.0"
thiserror = "1.0"
rand_chacha = { version = "0.3.0", default-features = false }
ark-ec = { version = "0.4.2", default-features = false }
ark-ff = { version = "0.4.2", default-features = false }
ark-std = { version = "0.4.0", default-features = false }
ark-serialize = { version = "0.4.2", default-features = false, features = [
"derive",
] }
# ark-bls12-381 = { version = "^0.4.0", default-features = false, features = [ "curve" ] }
criterion = { version = "0.3.1", features = ["html_reports"] }
num-integer = "0.1.45"
seq-macro = "0.3.3"
ark-curve25519 = "0.4.0"
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
tracing-texray = "0.2.0"
clap = { version = "4.3.10", features = ["derive"] }
hashbrown = "0.14.0"
[dev-dependencies]
criterion = "0.3.1"
[lib]
name = "liblasso"
path = "src/lib.rs"
[features]
default = [
"ark-ec/parallel",
"ark-ff/parallel",
"ark-std/parallel",
"ark-ff/asm",
"multicore",
]
multicore = ["rayon"]
ark-msm = [] # run with arkworks MSM without small field element optimization
[profile.release]
debug = true
codegen-units = 1
lto = "fat"