mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-24 12:39:33 +00:00
47f8766da6
Provides a DST, and associated metadata as beneficial. Also utilizes MuSig's context to session-bind. Since set_keys_messages also binds to set, this is semi-redundant, yet that's appreciated.
56 lines
1.8 KiB
TOML
56 lines
1.8 KiB
TOML
[package]
|
|
name = "dkg"
|
|
version = "0.4.0"
|
|
description = "Distributed key generation over ff/group"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = ["dkg", "multisig", "threshold", "ff", "group"]
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
thiserror = { version = "1", default-features = false, optional = true }
|
|
|
|
rand_core = { version = "0.6", default-features = false }
|
|
|
|
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
|
|
|
std-shims = { version = "0.1", path = "../../common/std-shims", default-features = false }
|
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false, features = ["recommended"] }
|
|
chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] }
|
|
|
|
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false }
|
|
multiexp = { path = "../multiexp", version = "0.3", default-features = false }
|
|
|
|
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4", default-features = false }
|
|
dleq = { path = "../dleq", version = "0.3", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
|
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["ristretto"] }
|
|
|
|
[features]
|
|
std = [
|
|
"thiserror",
|
|
"rand_core/std",
|
|
|
|
"std-shims/std",
|
|
|
|
"ciphersuite/std",
|
|
|
|
"multiexp/batch",
|
|
"multiexp/std",
|
|
|
|
"schnorr/std",
|
|
"dleq/serialize"
|
|
]
|
|
serde = ["dep:serde"]
|
|
tests = ["rand_core/getrandom"]
|
|
default = ["std"]
|