[package]
name = "affinidi-bbs"
description = "BBS Signatures (IETF draft-irtf-cfrg-bbs-signatures) implementation over BLS12-381."
version = "0.1.1"
edition.workspace = true
authors.workspace = true
readme = "README.md"
homepage.workspace = true
license.workspace = true
keywords = ["ssi", "affinidi", "bbs", "zero-knowledge", "disclosure"]
repository.workspace = true
publish.workspace = true
rust-version.workspace = true

[[example]]
name = "bbs_selective_disclosure"
path = "examples/bbs_selective_disclosure.rs"

[dependencies]
bls12_381_plus = { version = "0.8", features = ["alloc"] }
elliptic-curve = { version = "0.13", features = ["hash2curve"] }
ff = "0.13"
group = "0.13"
hex = "0.4"
rand = "0.9"
sha2 = "0.10"
thiserror = "2"
zeroize = "1"

[dev-dependencies]
serde_json = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
