-
Notifications
You must be signed in to change notification settings - Fork 178
/
Cargo.toml
65 lines (56 loc) · 1.68 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
[package]
name = "bls12_381"
version = "0.8.0"
authors = [
"Sean Bowe <[email protected]>",
"Jack Grigg <[email protected]>",
]
edition = "2021"
rust-version = "1.56"
description = "Implementation of the BLS12-381 pairing-friendly elliptic curve construction"
documentation = "https://docs.rs/bls12_381/"
homepage = "https://github.com/zkcrypto/bls12_381"
repository = "https://github.com/zkcrypto/bls12_381"
license = "MIT/Apache-2.0"
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "katex-header.html"]
[dependencies]
digest = { version = "0.10", optional = true }
ff = { version = "0.13", default-features = false }
group = { version = "0.13", optional = true, default-features = false }
pairing = { version = "0.23", optional = true }
rand_core = { version = "0.6", default-features = false }
subtle = { version = "2.2.1", default-features = false }
zeroize = { version = "1.4", optional = true, default-features = false }
[dev-dependencies]
csv = ">= 1.0, < 1.2" # csv 1.2 has MSRV 1.60
criterion = "0.3"
hex-literal = "0.3"
rand_xorshift = "0.3"
sha2 = "0.10"
sha3 = "0.10"
[features]
default = ["groups", "pairings", "alloc", "bits"]
bits = ["ff/bits"]
groups = ["group"]
pairings = ["groups", "pairing"]
alloc = ["group/alloc"]
experimental = ["digest", "groups"]
nightly = ["subtle/nightly"]
[[test]]
name = "expand_msg"
required-features = ["alloc", "experimental"]
[[test]]
name = "hash_to_curve_g1"
required-features = ["experimental"]
[[test]]
name = "hash_to_curve_g2"
required-features = ["experimental"]
[[bench]]
name = "groups"
harness = false
required-features = ["groups"]
[[bench]]
name = "hash_to_curve"
harness = false
required-features = ["experimental"]