# 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-core" version = "0.12.0" authors = ["Jonathan LEI "] build = false exclude = ["test-data/**"] autobins = false autoexamples = false autotests = false autobenches = false description = """ Core structures for the starknet crate """ homepage = "https://starknet.rs/" readme = "README.md" keywords = [ "ethereum", "starknet", "web3", ] license = "MIT OR Apache-2.0" repository = "https://github.com/xJonathanLEI/starknet-rs" [package.metadata.docs.rs] all-features = true [lib] name = "starknet_core" path = "src/lib.rs" [[bench]] name = "cairo0_class_hash" path = "benches/cairo0_class_hash.rs" harness = false [[bench]] name = "sierra_class_hash" path = "benches/sierra_class_hash.rs" harness = false [dependencies.base64] version = "0.21.0" features = ["alloc"] default-features = false [dependencies.crypto-bigint] version = "0.5.1" default-features = false [dependencies.flate2] version = "1.0.25" optional = true [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.serde] version = "1.0.160" features = ["derive"] default-features = false [dependencies.serde_json] version = "1.0.96" features = [ "alloc", "raw_value", ] default-features = false [dependencies.serde_json_pythonic] version = "0.1.2" features = [ "alloc", "raw_value", ] default-features = false [dependencies.serde_with] version = "3.9.0" features = [ "alloc", "macros", ] default-features = false [dependencies.sha3] version = "0.10.7" default-features = false [dependencies.starknet-crypto] version = "0.7.2" features = ["alloc"] default-features = false [dependencies.starknet-types-core] version = "0.1.3" features = [ "curve", "serde", "num-traits", ] default-features = false [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.criterion] version = "0.4.0" default-features = false [dev-dependencies.hex-literal] version = "0.4.1" [features] default = ["std"] no_unknown_fields = [] std = [ "dep:flate2", "starknet-crypto/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"