threshold-pairing 0.1.0

Pairing threshold cryptography
Documentation
[package]
name = "threshold-pairing"
# REMINDER: Update version in `README.md` and `CRATE_README.md` when incrementing:
version = "0.1.0"
authors = [
    "Sapient Engineer <mail@sapiens.engineering>",
    "Matthias Gusenbauer <matthias.gusenbauer@palladion.tech>",
]
categories = ["cryptography"]
keywords = ["pairing", "threshold", "encryption", "signing"]
license = "MIT OR Apache-2.0"
readme = "CRATE_README.md"
repository = "https://github.com/Sapiens-Engineering/threshold-pairing"
homepage = "https://github.com/Sapiens-Engineering/threshold-pairing"
documentation = "https://docs.rs/threshold-pairing"
description = "Pairing threshold cryptography"
edition = "2021"
rust-version = "1.85.0"
exclude = ["README.md", "btc-qr.png", ".gitignore", ".gitea", ".github", "ci.sh"]

[dependencies]
bls12_381 = { version = "0.8.0", default-features = false, features = [
    "alloc",
    "zeroize",
    "experimental",
    "pairings",
] }
ff = "0.13.1"
group = "0.13.0"
hex_fmt = "0.3.0"
rand = "0.8.5" # update blocked until bls12_381 0.9.0 has been release: https://github.com/zkcrypto/bls12_381/pull/145
rand_chacha = "0.3.1" # same as above
thiserror = "2.0.16"
tiny-keccak = { version = "2.0.1", features = ["sha3"] }
zeroize = "1.8.2"
sha2 = "0.9"
subtle = "2.5"

# optional
serde = { version = "1.0.228", features = ["derive"], optional = true }
bincode = { version = "2.0.1", default-features = false, features = ["alloc", "serde"], optional = true }

[dev-dependencies]
bincode = { version = "2.0.1", default-features = false, features = ["alloc", "serde"] }
criterion = "0.7.0"
rand_xorshift = "0.3.0" # also blocked by bls upgrade
rand_core = "0.6.4" # also blocked by bls upgrade

[[bench]]
name = "bench"
harness = false

[features]
default = ["serde"]
serde = ["dep:serde"]
bincode = ["dep:bincode", "serde"]
serialization = ["serde", "bincode"]
# Enables the `reveal()` methods on secret types (`SecretKey`, `SecretKeyShare`,
# `Poly`, `BivarPoly`) which return human-readable strings containing raw secret
# material. Only use in development/debugging - never in production.
expose-secret = []