# 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 = "dleq-mirror" version = "0.4.1" authors = ["Luke Parker "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of single and cross-curve Discrete Log Equality proofs. 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" license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/dleq" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "dleq_mirror" path = "src/lib.rs" [dependencies.digest] version = "0.10" default-features = false [dependencies.ff] version = "0.13" default-features = false [dependencies.group] version = "0.13" default-features = false [dependencies.multiexp] version = "0.4" features = ["batch"] optional = true default-features = false package = "multiexp-mirror" [dependencies.rand_core] version = "0.6" default-features = false [dependencies.rustversion] version = "1" [dependencies.thiserror] version = "1" optional = true [dependencies.transcript] version = "^0.3.2" default-features = false package = "flexible-transcript-mirror" [dependencies.zeroize] version = "^1.5" features = ["zeroize_derive"] default-features = false [dev-dependencies.blake2] version = "0.10" [dev-dependencies.dalek-ff-group] version = "0.3.0" package = "dalek-ff-group-mirror" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.k256] version = "^0.13.1" features = [ "std", "arithmetic", "bits", ] default-features = false [dev-dependencies.rand_core] version = "0.6" features = ["getrandom"] [dev-dependencies.transcript] version = "0.3.1" features = ["recommended"] package = "flexible-transcript-mirror" [features] default = [ "std", "secure_capacity_difference", ] experimental = [ "std", "thiserror", "multiexp", ] secure_capacity_difference = [] serialize = ["std"] std = [ "rand_core/std", "zeroize/std", "digest/std", "transcript/std", "ff/std", "multiexp?/std", ] [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"