-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
73 lines (59 loc) · 2.24 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
[package]
name = "bls-verify-gadget"
version = "0.1.0"
authors = [
"Weiji Guo, Lightec",
]
description = "Lightec's R1CS gadget for BLS signature verification over BLS12-381, based on arkworks."
repository = "https://github.com/lightec-xyz/bls-verify-gadget"
# documentation = "https://docs.rs/lightec-bls-verify-gadget/"
keywords = ["cryptography", "commitments", "zkSNARK"]
categories = ["cryptography"]
include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0"
edition = "2021"
[dependencies]
ark-ff = { version = "^0.4.0", default-features = false }
ark-ec = { version = "^0.4.0", default-features = false }
ark-std = { version = "^0.4.0", default-features = true, optional = true }
ark-r1cs-std = { version = "^0.4.0", default-features = false, optional = true }
ark-bls12-381 = { version = "^0.4.0", default-features = true }
ark-relations = { version = "^0.4.0", default-features = false, optional = true }
ark-snark = { version = "^0.4.0", default-features = false }
ark-serialize = { version = "^0.4.0", default-features = false }
ark-crypto-primitives = { version = "^0.4.0", default-features = true, features = ["signature", "crh"]}
blake2 = { version = "0.10" }
digest = "0.10"
derivative = { version = "2.0", features = ["use_core"] }
tracing = { version = "0.1", default-features = false, features = [ "attributes" ], optional = true }
sha2 = { version = "0.10", default-features = false }
hex ={version = "0.4.3"}
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
num-bigint = { version = "^0.4.0", default-features = false }
[dev-dependencies]
[profile.release]
opt-level = 3
lto = "thin"
incremental = true
debug = true
panic = 'abort'
[profile.test]
opt-level = 3
debug-assertions = true
incremental = true
debug = true
[profile.dev]
opt-level = 0
panic = 'abort'
[features]
default = [ "std", "parallel", "r1cs" ]
std = [ "ark-ff/std", "ark-ec/std", "ark-std/std", "ark-relations/std", "ark-serialize/std", "ark-crypto-primitives/std" ]
r1cs = [ "ark-relations", "ark-r1cs-std", "ark-crypto-primitives/r1cs" ]
parallel = [ "std", "ark-ff/parallel", "ark-ec/parallel", "ark-std/parallel" ]
# [[bench]]
# name = "bls-gadget-benches"
# path = "benches/bench.rs"
# harness = false
# required-features = ["std"]