2019-12-12 10:32:35 -08:00
|
|
|
[package]
|
2020-08-22 03:46:27 -07:00
|
|
|
authors = [
|
|
|
|
"Sean Bowe <ewillbefull@gmail.com>",
|
|
|
|
"Jack Grigg <thestr4d@gmail.com>",
|
|
|
|
]
|
2019-12-12 10:32:35 -08:00
|
|
|
description = "Implementation of the BLS12-381 pairing-friendly elliptic curve construction"
|
|
|
|
documentation = "https://docs.rs/bls12_381/"
|
|
|
|
homepage = "https://github.com/zkcrypto/bls12_381"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
name = "bls12_381"
|
|
|
|
repository = "https://github.com/zkcrypto/bls12_381"
|
2020-08-22 03:46:27 -07:00
|
|
|
version = "0.2.0"
|
2019-12-12 10:32:35 -08:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
rustdoc-args = [ "--html-in-header", "katex-header.html" ]
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-12-19 13:08:45 -08:00
|
|
|
criterion = "0.3"
|
2019-12-12 10:32:35 -08:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "groups"
|
|
|
|
harness = false
|
|
|
|
required-features = ["groups"]
|
|
|
|
|
2020-05-01 21:51:55 -07:00
|
|
|
[dependencies.byteorder]
|
|
|
|
version = "1"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[dependencies.ff]
|
|
|
|
path = "../ff"
|
2020-08-22 03:31:01 -07:00
|
|
|
version = "0.7"
|
2020-05-01 21:51:55 -07:00
|
|
|
default-features = false
|
|
|
|
|
2020-05-19 17:35:35 -07:00
|
|
|
[dependencies.group]
|
|
|
|
path = "../group"
|
2020-08-22 03:33:31 -07:00
|
|
|
version = "0.7"
|
2020-05-19 17:35:35 -07:00
|
|
|
default-features = false
|
|
|
|
optional = true
|
|
|
|
|
2020-06-23 18:08:23 -07:00
|
|
|
[dependencies.pairing]
|
|
|
|
path = "../pairing"
|
2020-08-22 03:40:10 -07:00
|
|
|
version = "0.17"
|
2020-06-23 18:08:23 -07:00
|
|
|
optional = true
|
|
|
|
|
2020-05-01 21:51:55 -07:00
|
|
|
[dependencies.rand_core]
|
|
|
|
version = "0.5"
|
|
|
|
default-features = false
|
|
|
|
|
2019-12-12 10:32:35 -08:00
|
|
|
[dependencies.subtle]
|
|
|
|
version = "2.2.1"
|
|
|
|
default-features = false
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["groups", "pairings", "alloc"]
|
2020-05-19 17:35:35 -07:00
|
|
|
groups = ["group"]
|
2020-06-23 18:08:23 -07:00
|
|
|
pairings = ["groups", "pairing"]
|
2019-12-12 10:32:35 -08:00
|
|
|
alloc = []
|
|
|
|
nightly = ["subtle/nightly"]
|
2020-08-12 10:25:52 -07:00
|
|
|
|
|
|
|
# GLV patents US7110538B2 and US7995752B2 expire in September 2020.
|
|
|
|
endo = []
|