[[bench]]
harness = false
name = "ecdsa_get_public_key"
path = "benches/ecdsa_get_public_key.rs"
[[bench]]
harness = false
name = "ecdsa_recover"
path = "benches/ecdsa_recover.rs"
[[bench]]
harness = false
name = "ecdsa_sign"
path = "benches/ecdsa_sign.rs"
[[bench]]
harness = false
name = "ecdsa_verify"
path = "benches/ecdsa_verify.rs"
[[bench]]
harness = false
name = "pedersen_hash"
path = "benches/pedersen_hash.rs"
[[bench]]
harness = false
name = "poseidon_hash"
path = "benches/poseidon_hash.rs"
[[bench]]
harness = false
name = "rfc6979_generate_k"
path = "benches/rfc6979_generate_k.rs"
[dependencies.crypto-bigint]
default-features = false
features = ["generic-array", "zeroize"]
version = "0.5.1"
[dependencies.hex]
default-features = false
optional = true
version = "0.4.3"
[dependencies.hmac]
default-features = false
version = "0.12.1"
[dependencies.num-bigint]
default-features = false
version = "0.4.3"
[dependencies.num-integer]
default-features = false
version = "0.1.45"
[dependencies.num-traits]
default-features = false
version = "0.2.18"
[dependencies.rfc6979]
default-features = false
version = "0.4.0"
[dependencies.sha2]
default-features = false
version = "0.10.6"
[dependencies.starknet-curve]
version = "0.5.1"
[dependencies.starknet-types-core]
default-features = false
features = ["curve", "hash"]
version = "0.1.6"
[dependencies.zeroize]
default-features = false
version = "1.6.0"
[dev-dependencies.criterion]
default-features = false
version = "0.4.0"
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.hex-literal]
version = "0.4.1"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0.160"
[dev-dependencies.serde_json]
version = "1.0.96"
[dev-dependencies.starknet-types-core]
default-features = false
features = ["alloc"]
version = "0.1.6"
[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"]
[lib]
name = "starknet_crypto"
path = "src/lib.rs"
[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"
[package]
authors = ["Jonathan LEI <me@xjonathan.dev>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = """
Low-level cryptography utilities for Starknet
"""
edition = "2021"
exclude = ["test-data/**"]
homepage = "https://starknet.rs/"
keywords = ["ethereum", "starknet", "web3", "no_std"]
license = "MIT OR Apache-2.0"
name = "starknet-crypto"
readme = "README.md"
repository = "https://github.com/xJonathanLEI/starknet-rs"
version = "0.7.3"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3.34"