forked from filecoin-project/bls-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (42 loc) · 1.34 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
[package]
name = "bls-signatures"
version = "0.15.0"
authors = ["dignifiedquire <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
resolver = "2"
rust-version = "1.67.1"
description = "Aggregate BLS Signatures"
documentation = "https://docs.rs/bls-signatures"
homepage = "https://github.com/filecoin-project/bls-signatures"
repository = "https://github.com/filecoin-project/bls-signatures"
readme = "README.md"
[dependencies]
rayon = { version = "1", optional = true }
rand_core = "0.6.0"
thiserror = "1.0"
subtle = "2.2.1"
ff = "0.13"
group = "0.13"
pairing_lib = { version = "0.23.0", package = "pairing" }
bls12_381 = { version = "0.8.0", optional = true, features = ["experimental"] }
sha2 = { version = "0.9", optional = true }
hkdf = { version = "0.11.0", optional = true }
blst_lib = { version = "0.3.10", optional = true, package = "blst" }
blstrs = { version = "0.7.0", optional = true }
[features]
default = ["pairing", "multicore"]
multicore = ["rayon"]
pairing = [ "bls12_381", "sha2", "hkdf" ]
blst = [ "blst_lib", "blstrs" ]
blst-portable = [ "blst_lib", "blst_lib/portable", "blstrs/portable" ]
[dev-dependencies]
rand = "0.8"
base64 = "0.13.0"
serde = { version = "1.0.106", features = ["derive"] }
serde_json = "1.0.52"
base64-serde = "0.6.1"
rand_chacha = "0.3.1"
[[example]]
name = "verify"
required-features = ["multicore"]