serai/crypto/frost/Cargo.toml
2023-08-08 18:32:13 -04:00

57 lines
1.6 KiB
TOML

[package]
name = "modular-frost"
version = "0.8.1"
description = "Modular implementation of FROST over ff/group"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/frost"
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
keywords = ["frost", "multisig", "threshold"]
edition = "2021"
rust-version = "1.70"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
thiserror = "1"
rand_core = "0.6"
rand_chacha = "0.3"
zeroize = { version = "^1.5", features = ["zeroize_derive"] }
subtle = "^2.4"
hex = { version = "0.4", optional = true }
digest = "0.10"
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", features = ["recommended"] }
dalek-ff-group = { path = "../dalek-ff-group", version = "0.4", optional = true }
minimal-ed448 = { path = "../ed448", version = "0.4", optional = true }
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", features = ["std"] }
multiexp = { path = "../multiexp", version = "0.4", features = ["batch"] }
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1" }
dleq = { path = "../dleq", version = "^0.4.1", features = ["serialize"] }
dkg = { path = "../dkg", version = "^0.5.1" }
[dev-dependencies]
hex = "0.4"
serde_json = "1"
dkg = { path = "../dkg", features = ["tests"] }
[features]
ed25519 = ["dalek-ff-group", "ciphersuite/ed25519"]
ristretto = ["dalek-ff-group", "ciphersuite/ristretto"]
secp256k1 = ["ciphersuite/secp256k1"]
p256 = ["ciphersuite/p256"]
ed448 = ["minimal-ed448", "ciphersuite/ed448"]
tests = ["hex", "rand_core/getrandom", "dkg/tests"]