[package]
edition = "2024"
name = "mx-core"
version = "0.1.0"
build = false
include = [
"Cargo.toml",
"README.md",
"src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core utilities for MultiversX Rust services."
documentation = "https://docs.rs/mx-core"
readme = "README.md"
keywords = [
"multiversx",
"blockchain",
"core",
"utilities",
]
categories = ["cryptography::cryptocurrencies"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/multiversx/mx-chain-rust"
resolver = "2"
[lib]
name = "mx_core"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22.1"
[dependencies.bech32]
version = "0.11"
[dependencies.bip39]
version = "2.2.2"
features = ["std"]
[dependencies.blake2]
version = "0.10.6"
[dependencies.ed25519-dalek]
version = "2.1.1"
features = ["rand_core"]
[dependencies.hex]
version = "0.4.3"
[dependencies.moka]
version = "0.12.13"
features = ["sync"]
[dependencies.multiversx-sdk]
version = "0.13.0"
[dependencies.mx-proto]
version = "0.1.1"
[dependencies.num-bigint]
version = "0.4.6"
[dependencies.parking_lot]
version = "0.12.3"
[dependencies.prost]
version = "0.14.1"
[dependencies.rand]
version = "0.9.3"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.148"
features = ["raw_value"]
[dependencies.sha2]
version = "0.10.9"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1.50.0"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"signal",
]
[lints.clippy]
cargo_common_metadata = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
clone_on_ref_ptr = "allow"
cloned_instead_of_copied = "allow"
collection_is_never_read = "allow"
const_is_empty = "allow"
create_dir = "allow"
dbg_macro = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
enum_glob_use = "allow"
exit = "allow"
expect_used = "allow"
float_cmp_const = "allow"
fn_params_excessive_bools = "allow"
if_not_else = "allow"
implicit_clone = "allow"
inline_always = "allow"
items_after_statements = "allow"
iter_on_empty_collections = "allow"
large_types_passed_by_value = "allow"
manual_let_else = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
mem_forget = "allow"
missing_assert_message = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
mut_mut = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
option_option = "allow"
panic = "allow"
print_stderr = "allow"
print_stdout = "allow"
rc_mutex = "allow"
redundant_clone = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
redundant_pub_crate = "allow"
rest_pat_in_fully_bound_structs = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
str_to_string = "allow"
string_lit_as_bytes = "allow"
string_to_string = "allow"
struct_excessive_bools = "allow"
todo = "allow"
too_many_arguments = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "allow"
unimplemented = "allow"
uninlined_format_args = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unwrap_used = "allow"
use_self = "allow"
useless_let_if_seq = "allow"
verbose_file_reads = "allow"
wildcard_imports = "allow"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "allow"
unreachable_pub = "allow"
unsafe_code = "allow"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "allow"