# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.94.0"
name = "affinidi-bbs"
version = "0.1.1"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BBS Signatures (IETF draft-irtf-cfrg-bbs-signatures) implementation over BLS12-381."
homepage = "https://affinidi.com/"
readme = "README.md"
keywords = [
    "ssi",
    "affinidi",
    "bbs",
    "zero-knowledge",
    "disclosure",
]
license = "Apache-2.0"
repository = "https://github.com/affinidi/affinidi-tdk-rs"

[lib]
name = "affinidi_bbs"
path = "src/lib.rs"

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

[dependencies.bls12_381_plus]
version = "0.8"
features = ["alloc"]

[dependencies.elliptic-curve]
version = "0.13"
features = ["hash2curve"]

[dependencies.ff]
version = "0.13"

[dependencies.group]
version = "0.13"

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.zeroize]
version = "1"

[dev-dependencies.serde_json]
version = "1"

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