# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.79" name = "dkg-mirror" version = "0.5.1" authors = ["Luke Parker "] build = false autobins = false autoexamples = false autotests = false autobenches = false 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." readme = "README.md" keywords = [ "dkg", "multisig", "threshold", "ff", "group", ] license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dkg" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "dkg_mirror" path = "src/lib.rs" [dependencies.borsh] version = "1" features = [ "derive", "de_strict_order", ] optional = true default-features = false [dependencies.chacha20] version = "0.9" features = ["zeroize"] default-features = false [dependencies.ciphersuite] version = "^0.4.1" default-features = false package = "ciphersuite-mirror" [dependencies.dleq] version = "^0.4.1" default-features = false package = "dleq-mirror" [dependencies.multiexp] version = "0.4" default-features = false package = "multiexp-mirror" [dependencies.rand_core] version = "0.6" default-features = false [dependencies.schnorr] version = "^0.5.1" default-features = false package = "schnorr-signatures-mirror" [dependencies.std-shims] version = "0.1" default-features = false package = "std-shims-mirror" [dependencies.thiserror] version = "1" optional = true default-features = false [dependencies.transcript] version = "^0.3.2" features = ["recommended"] default-features = false package = "flexible-transcript-mirror" [dependencies.zeroize] version = "^1.5" features = ["zeroize_derive"] default-features = false [dev-dependencies.rand_core] version = "0.6" features = ["getrandom"] default-features = false [features] borsh = ["dep:borsh"] default = ["std"] 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", ] tests = ["rand_core/getrandom"] [lints.clippy] borrow_as_ptr = "deny" cast_lossless = "deny" cast_possible_truncation = "deny" cast_possible_wrap = "deny" cast_precision_loss = "deny" cast_ptr_alignment = "deny" cast_sign_loss = "deny" checked_conversions = "deny" cloned_instead_of_copied = "deny" enum_glob_use = "deny" expl_impl_clone_on_copy = "deny" explicit_into_iter_loop = "deny" explicit_iter_loop = "deny" flat_map_option = "deny" float_cmp = "deny" fn_params_excessive_bools = "deny" ignored_unit_patterns = "deny" implicit_clone = "deny" inefficient_to_string = "deny" invalid_upcast_comparisons = "deny" large_stack_arrays = "deny" linkedlist = "deny" macro_use_imports = "deny" manual_instant_elapsed = "deny" manual_let_else = "deny" manual_ok_or = "deny" manual_string_new = "deny" map_unwrap_or = "deny" match_bool = "deny" match_same_arms = "deny" missing_fields_in_debug = "deny" needless_continue = "deny" needless_pass_by_value = "deny" ptr_cast_constness = "deny" range_minus_one = "deny" range_plus_one = "deny" redundant_closure_for_method_calls = "deny" redundant_else = "deny" string_add_assign = "deny" unchecked_duration_subtraction = "deny" uninlined_format_args = "deny" unnecessary_box_returns = "deny" unnecessary_join = "deny" unnecessary_wraps = "deny" unnested_or_patterns = "deny" unused_async = "deny" unused_self = "deny" unwrap_or_default = "allow" zero_sized_map_values = "deny"