[package]
edition = "2021"
rust-version = "1.85.0"
name = "threshold-pairing"
version = "0.1.0"
authors = [
"Sapient Engineer <mail@sapiens.engineering>",
"Matthias Gusenbauer <matthias.gusenbauer@palladion.tech>",
]
build = false
exclude = [
"README.md",
"btc-qr.png",
".gitignore",
".gitea",
".github",
"ci.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pairing threshold cryptography"
homepage = "https://github.com/Sapiens-Engineering/threshold-pairing"
documentation = "https://docs.rs/threshold-pairing"
readme = "CRATE_README.md"
keywords = [
"pairing",
"threshold",
"encryption",
"signing",
]
categories = ["cryptography"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Sapiens-Engineering/threshold-pairing"
[features]
bincode = [
"dep:bincode",
"serde",
]
default = ["serde"]
expose-secret = []
serde = ["dep:serde"]
serialization = [
"serde",
"bincode",
]
[lib]
name = "threshold_pairing"
path = "src/lib.rs"
[[example]]
name = "basic_pkc"
path = "examples/basic_pkc.rs"
[[example]]
name = "threshold_enc"
path = "examples/threshold_enc.rs"
[[example]]
name = "threshold_sig"
path = "examples/threshold_sig.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.bincode]
version = "2.0.1"
features = [
"alloc",
"serde",
]
optional = true
default-features = false
[dependencies.bls12_381]
version = "0.8.0"
features = [
"alloc",
"zeroize",
"experimental",
"pairings",
]
default-features = false
[dependencies.ff]
version = "0.13.1"
[dependencies.group]
version = "0.13.0"
[dependencies.hex_fmt]
version = "0.3.0"
[dependencies.rand]
version = "0.8.5"
[dependencies.rand_chacha]
version = "0.3.1"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.sha2]
version = "0.9"
[dependencies.subtle]
version = "2.5"
[dependencies.thiserror]
version = "2.0.16"
[dependencies.tiny-keccak]
version = "2.0.1"
features = ["sha3"]
[dependencies.zeroize]
version = "1.8.2"
[dev-dependencies.bincode]
version = "2.0.1"
features = [
"alloc",
"serde",
]
default-features = false
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.rand_core]
version = "0.6.4"
[dev-dependencies.rand_xorshift]
version = "0.3.0"