-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
69 lines (53 loc) · 1.45 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
[package]
name = "zkryptium"
version = "0.3.2"
edition = "2021"
license = "Apache-2.0"
authors = ["LINKS Foundation"]
description = "Rust crypto library for zero-knowledge proofs"
repository = "https://github.com/Cybersecurity-LINKS/zkryptium"
rust-version = "1.65"
keywords = [ "crypto", "signatures", "zero-knowledge", "bbs", "blind-signature" ]
categories = [ "cryptography", "authentication" ]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = {version = "0.8.5"}
zeroize = { version = "1.5" }
serde = { version = "1.0.25", default-features = false, features = ["derive", "serde_derive"] }
serde_json = "1.0.59"
hex = "0.4.3"
thiserror = "1.0.30"
# cl03
rug = { version = "1.19.2", features = ["serde"], optional = true }
sha3 = "0.10.8"
sha2 = "0.10.6"
hkdf = "0.12.3"
digest = "0.10.6"
# bbsplus
bls12_381_plus = { version = "0.8.13", optional = true }
ff = "0.13.0"
group = "0.10"
elliptic-curve = "0.13.4"
cargo-license = "0.5.1"
log = "0.4.0"
env_logger = "0.10.0"
dotenv = "0.15.0"
[lib]
name = "zkryptium"
path = "src/lib.rs"
[features]
default = ["bbsplus"]
cl03 = ["dep:rug"]
bbsplus = ["dep:bls12_381_plus"]
[[example]]
name = "bbsplus_blind"
path = "examples/bbsplus_blind.rs"
required-features = ["bbsplus"]
[[example]]
name = "bbsplus"
path = "examples/bbsplus.rs"
required-features = ["bbsplus"]
[[example]]
name = "cl03"
path = "examples/cl03.rs"
required-features = ["cl03"]