# 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.74" name = "ciphersuite-mirror" version = "0.4.1" authors = ["Luke Parker "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Ciphersuites built around 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 = [ "ciphersuite", "ff", "group", ] license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/crypto/ciphersuite" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ciphersuite_mirror" path = "src/lib.rs" [dependencies.dalek-ff-group] version = "0.4" optional = true default-features = false package = "dalek-ff-group-mirror" [dependencies.digest] version = "0.10" default-features = false [dependencies.elliptic-curve] version = "0.13" features = ["hash2curve"] optional = true default-features = false [dependencies.ff] version = "0.13" features = ["bits"] default-features = false [dependencies.group] version = "0.13" default-features = false [dependencies.k256] version = "^0.13.1" features = [ "arithmetic", "bits", "hash2curve", ] optional = true default-features = false [dependencies.minimal-ed448] version = "0.4" optional = true default-features = false package = "minimal-ed448-mirror" [dependencies.p256] version = "^0.13.1" features = [ "arithmetic", "bits", "hash2curve", ] optional = true default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.sha3] version = "0.10" optional = true default-features = false [dependencies.std-shims] version = "^0.1.1" optional = true default-features = false package = "std-shims-mirror" [dependencies.subtle] version = "^2.4" default-features = false [dependencies.transcript] version = "^0.3.2" default-features = false package = "flexible-transcript-mirror" [dependencies.zeroize] version = "^1.5" features = ["derive"] default-features = false [dev-dependencies.ff-group-tests] version = "0.13" package = "ff-group-tests-mirror" [dev-dependencies.hex] version = "0.4" features = ["std"] default-features = false [dev-dependencies.rand_core] version = "0.6" features = ["std"] default-features = false [features] alloc = ["std-shims"] dalek = [ "sha2", "dalek-ff-group", ] default = ["std"] ed25519 = ["dalek"] ed448 = [ "sha3", "minimal-ed448", ] kp256 = [ "sha2", "elliptic-curve", ] p256 = [ "kp256", "dep:p256", ] ristretto = ["dalek"] secp256k1 = [ "kp256", "k256", ] std = [ "std-shims/std", "rand_core/std", "zeroize/std", "subtle/std", "digest/std", "transcript/std", "sha2?/std", "sha3?/std", "ff/std", "dalek-ff-group?/std", "elliptic-curve?/std", "p256?/std", "k256?/std", "minimal-ed448?/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"