2022-10-29 08:54:42 +00:00
|
|
|
[package]
|
|
|
|
name = "dkg"
|
2023-08-08 22:30:19 +00:00
|
|
|
version = "0.5.1"
|
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"
|
2023-08-02 18:17:57 +00:00
|
|
|
rust-version = "1.70"
|
2022-10-29 08:54:42 +00:00
|
|
|
|
|
|
|
[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-08-08 22:30:19 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false, features = ["recommended"] }
|
2023-05-13 03:24:47 +00:00
|
|
|
chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-08-08 22:30:19 +00:00
|
|
|
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false }
|
2023-08-08 22:18:59 +00:00
|
|
|
multiexp = { path = "../multiexp", version = "0.4", default-features = false }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-08-08 22:30:19 +00:00
|
|
|
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "^0.5.1", default-features = false }
|
|
|
|
dleq = { path = "../dleq", version = "^0.4.1", 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-08-08 22:30:19 +00:00
|
|
|
ciphersuite = { path = "../ciphersuite", 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",
|
2023-10-31 11:41:23 +00:00
|
|
|
|
2023-05-13 08:20:13 +00:00
|
|
|
"rand_core/std",
|
|
|
|
|
|
|
|
"std-shims/std",
|
|
|
|
|
2023-10-31 11:41:23 +00:00
|
|
|
"serde/std",
|
2023-05-13 08:20:13 +00:00
|
|
|
|
2023-10-31 11:41:23 +00:00
|
|
|
"transcript/std",
|
|
|
|
"chacha20/std",
|
|
|
|
|
|
|
|
"ciphersuite/std",
|
2023-05-13 08:20:13 +00:00
|
|
|
"multiexp/std",
|
2023-10-31 11:41:23 +00:00
|
|
|
"multiexp/batch",
|
2023-05-13 08:20:13 +00:00
|
|
|
|
|
|
|
"schnorr/std",
|
2023-10-31 11:41:23 +00:00
|
|
|
"dleq/std",
|
2023-05-13 08:20:13 +00:00
|
|
|
"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"]
|