-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
48 lines (42 loc) · 1.14 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
[package]
name = "ckb-zkp"
version = "0.1.0"
authors = ["SECBIT Labs"]
description = "A library for better use zero-knowledge proof"
keywords = ["cryptography", "zero-knowledge", "zkp", "gadget", "r1cs"]
categories = ["cryptography"]
license = "MIT/Apache-2.0"
edition = "2018"
[workspace]
members = [
"math",
"curve",
"scheme",
"cli",
"tests",
]
exclude = [
"contracts",
"dependencies",
]
[features]
default = ["full"]
full = ["parallel", "bn_256", "bls12_381", "groth16", "bulletproofs"]
parallel = ["std", "math/parallel", "curve/parallel", "scheme/parallel"]
std = ["math/std", "curve/std", "scheme/std"]
bn_256 = ["curve/bn_256"]
bls12_381 = ["curve/bls12_381"]
groth16 = ["scheme/groth16"]
bulletproofs = ["scheme/bulletproofs"]
[dependencies]
math = { path = "math", default-features = false }
scheme = { path = "scheme", default-features = false }
curve = { path = "curve", default-features = false }
rand = { version = "0.7", default-features = false }
[dev-dependencies]
rand = { version = "0.7" }
blake2s_simd = "0.5"
byteorder = "1"
num-traits = { version = "0.2", default-features = false }
[profile.test]
opt-level = 3