[package] authors = [ "Bhargav Annem ", "Sean Bowe ", "Jack Grigg ", ] description = "Implementation of the BLS12-381 pairing-friendly elliptic curve construction" homepage = "https://github.com/sp1-patches/bls12_381" license = "MIT/Apache-2.0" name = "sp1_bls12_381" repository = "https://github.com/sp1-patches/bls12_381" version = "0.8.0" edition = "2021" [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" rand_xorshift = "0.3" sha2 = "0.9" sha3 = "0.9" [[bench]] name = "groups" harness = false required-features = ["groups"] [[bench]] name = "hash_to_curve" harness = false required-features = ["experimental"] [dependencies.cfg-if] version = "1.0.0" default-features = false [dependencies.digest] version = "0.9" optional = true default-features = false [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 default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.subtle] version = "2.2.1" default-features = false [dependencies.zeroize] version = "1.4" default-features = false optional = true [target.'cfg(target_os = "zkvm")'.dependencies.sp1-lib] version = "1.2.0-rc1" default-features = false [features] default = ["groups", "pairings", "alloc", "bits"] bits = ["ff/bits"] groups = ["group"] pairings = ["groups", "pairing"] alloc = ["group/alloc"] experimental = ["digest"] nightly = ["subtle/nightly"]