[package]
name = "tsslib"
version = "0.2.2"
edition = "2024"
rust-version = "1.85"
description = "Easy-to-use threshold signature schemes (FROST, ML-DSA, DKLs23) — wire- and save-data-compatible with the Go tss-lib."
repository = "https://github.com/KarpelesLab/tsslib-rs"
license = "MIT"
keywords = ["tss", "threshold", "frost", "ecdsa", "cryptography"]
categories = ["cryptography"]
readme = "README.md"
[lib]
name = "tsslib"
[features]
default = ["frosttss", "frostristretto255tss", "mldsatss", "dklstss", "ecdsatss", "eddsatss"]
frosttss = ["purecrypto/hazmat-edwards25519", "purecrypto/cipher", "purecrypto/kdf"]
frostristretto255tss = ["purecrypto/ristretto255", "purecrypto/cipher", "purecrypto/kdf"]
mldsatss = ["purecrypto/mldsa", "purecrypto/hazmat-mldsa"]
dklstss = ["purecrypto/hazmat-secp256k1", "purecrypto/cipher"]
ecdsatss = ["purecrypto/hazmat-secp256k1", "purecrypto/bignum", "purecrypto/hash"]
eddsatss = ["purecrypto/hazmat-edwards25519", "purecrypto/hash"]
[dependencies]
purecrypto = { version = "0.6.1", default-features = false, features = ["std"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["arbitrary_precision"] }
base64 = "0.22"
hex = "0.4"
zeroize = { version = "1", features = ["derive"] }
subtle = "2"
[dev-dependencies]
serde_json = "1"