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