[package]
edition = "2018"
name = "kzg"
version = "0.6.0"
authors = ["sladuca777@gmail.com"]
description = "a simple implementation of the KZG polynomial commitment scheme"
readme = "README.md"
keywords = ["polynomials", "commitment", "cryptography"]
categories = ["cryptography"]
license = "MIT"
repository = "https://github.com/Sladuca/kzg"
[profile.bench]
debug = true
[[bench]]
name = "commit"
harness = false
[[bench]]
name = "poly_verify"
harness = false
[[bench]]
name = "create_witness"
harness = false
[[bench]]
name = "verify_eval"
harness = false
[[bench]]
name = "poly_arithmetic"
harness = false
[dependencies.bls12_381]
version = "0.6.0"
optional = true
[dependencies.pairing]
version = "0.21.0"
[dependencies.rand]
version = "0.8.4"
optional = true
[dependencies.rayon]
version = "1.5.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "1.0.26"
[dev-dependencies.bincode]
version = "1.3.3"
[dev-dependencies.bls12_381]
version = "0.6.0"
[dev-dependencies.criterion]
version = "0.3"
[dev-dependencies.lazy_static]
version = "1.4.0"
[dev-dependencies.rand]
version = "0.8.4"
features = ["small_rng"]
[features]
b12_381 = ["bls12_381"]
csprng_setup = ["rand"]
parallel = ["rayon"]
serde_support = ["serde"]