2022-10-29 08:54:42 +00:00
|
|
|
[package]
|
|
|
|
name = "dkg"
|
2023-03-21 00:28:41 +00:00
|
|
|
version = "0.4.0"
|
2022-10-29 08:54:42 +00:00
|
|
|
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]
|
2023-05-13 03:24:47 +00:00
|
|
|
thiserror = { version = "1", default-features = false, optional = true }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-05-13 03:24:47 +00:00
|
|
|
rand_core = { version = "0.6", default-features = false }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-05-13 03:24:47 +00:00
|
|
|
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
|
|
|
|
|
|
|
std-shims = { version = "0.1", path = "../../common/std-shims", default-features = false }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-03-07 08:13:55 +00:00
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
|
|
|
2023-05-13 03:24:47 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false, features = ["recommended"] }
|
|
|
|
chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-05-13 03:24:47 +00:00
|
|
|
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false }
|
2023-05-13 08:03:56 +00:00
|
|
|
multiexp = { path = "../multiexp", version = "0.3", default-features = false }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-05-13 08:03:56 +00:00
|
|
|
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4", default-features = false }
|
|
|
|
dleq = { path = "../dleq", version = "0.3", default-features = false }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2022-12-24 22:08:22 +00:00
|
|
|
[dev-dependencies]
|
2023-05-13 08:03:56 +00:00
|
|
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
2023-05-13 03:24:47 +00:00
|
|
|
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["ristretto"] }
|
2022-12-24 22:08:22 +00:00
|
|
|
|
2022-10-29 08:54:42 +00:00
|
|
|
[features]
|
2023-05-13 08:20:13 +00:00
|
|
|
std = [
|
|
|
|
"thiserror",
|
|
|
|
"rand_core/std",
|
|
|
|
|
|
|
|
"std-shims/std",
|
|
|
|
|
|
|
|
"ciphersuite/std",
|
|
|
|
|
|
|
|
"multiexp/batch",
|
|
|
|
"multiexp/std",
|
|
|
|
|
|
|
|
"schnorr/std",
|
|
|
|
"dleq/serialize"
|
|
|
|
]
|
2023-03-07 08:13:55 +00:00
|
|
|
serde = ["dep:serde"]
|
2023-05-01 08:58:50 +00:00
|
|
|
tests = ["rand_core/getrandom"]
|
2023-05-13 03:24:47 +00:00
|
|
|
default = ["std"]
|