forked from zkcrypto/bls12_381
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Cargo.toml
120 lines (100 loc) · 2.52 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[package]
authors = [
"Sean Bowe <[email protected]>",
"Jack Grigg <[email protected]>",
"CPerezz <[email protected]>",
]
description = "Fork of the implementation of the BLS12-381 pairing-friendly elliptic curve construction with some extra tooling needed by the Dusk team"
documentation = "https://docs.rs/dusk-bls12_381/"
homepage = "https://github.com/dusk-network/bls12_381"
license = "MIT/Apache-2.0/MPL-2.0"
name = "dusk-bls12_381"
repository = "https://github.com/dusk-network/bls12_381"
version = "0.13.0"
edition = "2021"
keywords = ["cryptography", "bls12_381", "zk-snarks", "ecc", "elliptic-curve"]
categories =["algorithms", "cryptography", "development-tools"]
exclude = [
".github/workflows/ci.yml",
".gitignore",
]
[package.metadata.docs.rs]
rustdoc-args = [ "--html-in-header", "katex-header.html" ]
[dev-dependencies]
csv = ">= 1.0, < 1.2" # csv 1.2 has MSRV 1.60
criterion = "0.3"
hex = "0.4"
rand_xorshift = "0.3"
sha2 = "0.9"
sha3 = "0.9"
# Dev-dependencies added by Dusk
bincode = "1"
rkyv = {version = "0.7", default-features = false, features = ["size_32"]}
quickcheck = "1"
[[bench]]
name = "groups"
harness = false
required-features = ["groups"]
[[bench]]
name = "hash_to_curve"
harness = false
required-features = ["experimental"]
[dependencies.digest]
version = "0.9"
optional = true
[dependencies.ff]
version = "0.13"
default-features = false
[dependencies.group]
version = "0.13"
default-features = false
optional = true
[dependencies.pairing]
version = "0.23"
optional = true
[dependencies.rand_core]
version = "0.6"
default-features = false
[dependencies.subtle]
version = "2"
default-features = false
[dependencies.zeroize]
version = "1"
default-features = false
optional = true
# Start of dependencies added by Dusk
[dependencies.blake2b_simd]
version = "1.0"
default-features = false
[dependencies.byteorder]
version = "1"
default-features = false
optional = true
[dependencies.rayon]
version = "1"
optional = true
[dependencies.serde]
version = "1"
optional = true
[dependencies.rkyv]
version = "0.7"
default-features = false
optional = true
[dependencies.bytecheck]
version = "0.6"
default-features = false
optional = true
[dependencies.dusk-bytes]
version = "0.1"
# End
[features]
default = ["groups", "pairings", "alloc", "bits", "parallel", "byteorder"]
bits = ["ff/bits"]
groups = ["group"]
pairings = ["groups", "pairing"]
alloc = ["group/alloc"]
experimental = ["digest"]
nightly = ["subtle/nightly"]
# Features added by Dusk
parallel = ["rayon"]
rkyv-impl = ["rkyv", "rkyv/alloc", "bytecheck"]