# 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" name = "starknet-crypto" version = "0.7.3" authors = ["Jonathan LEI "] build = false exclude = ["test-data/**"] autobins = false autoexamples = false autotests = false autobenches = false description = """ Low-level cryptography utilities for Starknet """ homepage = "https://starknet.rs/" readme = "README.md" keywords = [ "ethereum", "starknet", "web3", "no_std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/xJonathanLEI/starknet-rs" [lib] name = "starknet_crypto" path = "src/lib.rs" [[bench]] name = "ecdsa_get_public_key" path = "benches/ecdsa_get_public_key.rs" harness = false [[bench]] name = "ecdsa_recover" path = "benches/ecdsa_recover.rs" harness = false [[bench]] name = "ecdsa_sign" path = "benches/ecdsa_sign.rs" harness = false [[bench]] name = "ecdsa_verify" path = "benches/ecdsa_verify.rs" harness = false [[bench]] name = "pedersen_hash" path = "benches/pedersen_hash.rs" harness = false [[bench]] name = "poseidon_hash" path = "benches/poseidon_hash.rs" harness = false [[bench]] name = "rfc6979_generate_k" path = "benches/rfc6979_generate_k.rs" harness = false [dependencies.crypto-bigint] version = "0.5.1" features = [ "generic-array", "zeroize", ] default-features = false [dependencies.hex] version = "0.4.3" optional = true default-features = false [dependencies.hmac] version = "0.12.1" default-features = false [dependencies.num-bigint] version = "0.4.3" default-features = false [dependencies.num-integer] version = "0.1.45" default-features = false [dependencies.num-traits] version = "0.2.18" default-features = false [dependencies.rfc6979] version = "0.4.0" default-features = false [dependencies.sha2] version = "0.10.6" default-features = false [dependencies.starknet-curve] version = "0.5.1" [dependencies.starknet-types-core] version = "0.1.6" features = [ "curve", "hash", ] default-features = false [dependencies.zeroize] version = "1.6.0" default-features = false [dev-dependencies.criterion] version = "0.4.0" default-features = false [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.serde] version = "1.0.160" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.96" [dev-dependencies.starknet-types-core] version = "0.1.6" features = ["alloc"] default-features = false [features] alloc = [ "hex?/alloc", "starknet-types-core/alloc", ] default = [ "std", "signature-display", ] pedersen_no_lookup = [] signature-display = [ "dep:hex", "alloc", ] std = ["starknet-types-core/std"] [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.34" [lints.clippy] as_ptr_cast_mut = "allow" branches_sharing_code = "warn" clear_with_drain = "warn" cognitive_complexity = "allow" collection_is_never_read = "allow" debug_assert_with_mut_call = "allow" derive_partial_eq_without_eq = "warn" doc_markdown = "warn" empty_line_after_doc_comments = "warn" empty_line_after_outer_attr = "warn" equatable_if_let = "warn" explicit_into_iter_loop = "warn" explicit_iter_loop = "warn" fallible_impl_from = "allow" future_not_send = "allow" imprecise_flops = "warn" iter_on_empty_collections = "warn" iter_on_single_items = "warn" iter_with_drain = "warn" large_stack_frames = "warn" manual_clamp = "warn" manual_string_new = "warn" match_same_arms = "warn" missing_const_for_fn = "warn" mutex_integer = "warn" naive_bytecount = "warn" needless_bitwise_bool = "warn" needless_collect = "allow" needless_continue = "warn" needless_pass_by_ref_mut = "warn" non_send_fields_in_send_ty = "allow" nonstandard_macro_braces = "warn" or_fun_call = "warn" path_buf_push_overwrite = "warn" read_zero_byte_vec = "warn" redundant_clone = "warn" redundant_pub_crate = "allow" significant_drop_in_scrutinee = "allow" significant_drop_tightening = "allow" single_char_pattern = "warn" string_lit_as_bytes = "warn" suboptimal_flops = "warn" suspicious_operation_groupings = "warn" trailing_empty_array = "warn" trait_duplication_in_bounds = "warn" transmute_undefined_repr = "warn" trivial_regex = "warn" tuple_array_conversions = "warn" type_repetition_in_bounds = "allow" uninhabited_references = "warn" unnecessary_struct_initialization = "warn" unused_peekable = "warn" unused_rounding = "warn" use_self = "warn" useless_let_if_seq = "warn" zero_sized_map_values = "warn" [lints.rust] missing_debug_implementations = "warn" missing_docs = "allow" unreachable_pub = "allow" unused_must_use = "deny" [lints.rust.rust_2018_idioms] level = "deny" priority = -1 [lints.rustdoc] all = "warn"