evmlib 0.4.8

Safe Network EVM
Documentation
# 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 = "2024"
name = "evmlib"
version = "0.4.8"
authors = ["MaidSafe Developers <dev@maidsafe.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Network EVM"
homepage = "https://maidsafe.net"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/maidsafe/autonomi"
resolver = "2"

[features]
external-signer = []
test-utils = [
    "dirs-next",
    "serde_json",
]

[lib]
name = "evmlib"
path = "src/lib.rs"

[[test]]
name = "cryptography"
path = "tests/cryptography.rs"

[[test]]
name = "gas_fee_limit"
path = "tests/gas_fee_limit.rs"

[[test]]
name = "network_token"
path = "tests/network_token.rs"

[[test]]
name = "payment_vault"
path = "tests/payment_vault.rs"

[[test]]
name = "wallet"
path = "tests/wallet.rs"

[dependencies.alloy]
version = "1.0.32"
features = [
    "contract",
    "json-rpc",
    "network",
    "node-bindings",
    "provider-http",
    "reqwest-rustls-tls",
    "rpc-client",
    "rpc-types",
    "signer-local",
    "std",
]
default-features = false

[dependencies.dirs-next]
version = "~2.0"
optional = true

[dependencies.exponential-backoff]
version = "2.0.0"

[dependencies.hex]
version = "~0.4.3"

[dependencies.rand]
version = "0.8.5"

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1.0.108"
optional = true

[dependencies.serde_with]
version = "3.11.0"
features = ["macros"]

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.43.1"

[dependencies.tracing]
version = "~0.1.26"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "warn"
panic = "warn"
unicode_not_nfc = "warn"
uninlined_format_args = "warn"
unused_async = "warn"
unwrap_used = "warn"

[lints.rust]
arithmetic_overflow = "forbid"
mutable_transmutes = "forbid"
no_mangle_const_items = "forbid"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unknown_crate_types = "forbid"
unsafe_code = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"