[package] name = "dkg-mirror" version = "0.5.1" description = "Distributed key generation over ff/group. Mirrored by sneurlax from serai for downstream crate-publishing purposes until serai publishes their crates; use the versions from serai in production. This crate will be unpublished/deleted as soon as possible." license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg" authors = ["Luke Parker "] keywords = ["dkg", "multisig", "threshold", "ff", "group"] edition = "2021" rust-version = "1.79" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [lints] workspace = true [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", package = "std-shims-mirror", default-features = false } borsh = { version = "1", default-features = false, features = ["derive", "de_strict_order"], optional = true } transcript = { package = "flexible-transcript-mirror", path = "../transcript", version = "^0.3.2", default-features = false, features = ["recommended"] } chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] } ciphersuite = { package = "ciphersuite-mirror", path = "../ciphersuite", version = "^0.4.1", default-features = false } multiexp = { package = "multiexp-mirror", path = "../multiexp", version = "0.4", default-features = false } schnorr = { package = "schnorr-signatures-mirror", path = "../schnorr", version = "^0.5.1", default-features = false } dleq = { package = "dleq-mirror", path = "../dleq", version = "^0.4.1", default-features = false } [dev-dependencies] rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } ciphersuite = { package = "ciphersuite-mirror", path = "../ciphersuite", default-features = false, features = ["ristretto"] } [features] std = [ "thiserror", "rand_core/std", "std-shims/std", "borsh?/std", "transcript/std", "chacha20/std", "ciphersuite/std", "multiexp/std", "multiexp/batch", "schnorr/std", "dleq/std", "dleq/serialize" ] borsh = ["dep:borsh"] tests = ["rand_core/getrandom"] default = ["std"]