[package]
name = "threshold-pairing"
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"
rand_chacha = "0.3.1"
thiserror = "2.0.16"
tiny-keccak = { version = "2.0.1", features = ["sha3"] }
zeroize = "1.8.2"
sha2 = "0.9"
subtle = "2.5"
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"
rand_core = "0.6.4"
[[bench]]
name = "bench"
harness = false
[features]
default = ["serde"]
serde = ["dep:serde"]
bincode = ["dep:bincode", "serde"]
serialization = ["serde", "bincode"]
expose-secret = []