[package]
edition = "2024"
name = "evmlib"
version = "0.10.0"
authors = ["MaidSafe Developers <dev@maidsafe.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Network EVM"
homepage = "https://autonomi.com"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/WithAutonomi/evmlib"
[features]
default = ["native"]
external-signer = ["rpc"]
native = [
"rpc",
"alloy/node-bindings",
"alloy/k256",
]
rpc = [
"alloy/contract",
"alloy/json-rpc",
"alloy/network",
"alloy/provider-http",
"alloy/reqwest-rustls-tls",
"alloy/rpc-client",
"alloy/rpc-types",
"alloy/signer-local",
"dep:tokio",
"dep:exponential-backoff",
]
[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"
required-features = ["rpc"]
[[test]]
name = "network_token"
path = "tests/network_token.rs"
required-features = ["native"]
[[test]]
name = "payment_vault"
path = "tests/payment_vault.rs"
required-features = ["native"]
[[test]]
name = "wallet"
path = "tests/wallet.rs"
required-features = ["native"]
[dependencies.alloy]
version = "1.0.32"
features = [
"std",
"serde",
]
default-features = false
[dependencies.ant-merkle]
version = "1.5.1"
[dependencies.exponential-backoff]
version = "2.0.0"
optional = true
[dependencies.hex]
version = "~0.4.3"
[dependencies.rand]
version = "0.8.5"
[dependencies.rmp-serde]
version = "1"
[dependencies.serde]
version = "1"
[dependencies.serde_with]
version = "3.11.0"
features = ["macros"]
[dependencies.thiserror]
version = "1.0"
[dependencies.tiny-keccak]
version = "~2.0.2"
features = ["sha3"]
[dependencies.tokio]
version = "1.43.1"
features = [
"sync",
"time",
]
optional = true
[dependencies.tracing]
version = "~0.1.26"
[dependencies.url]
version = "2"
[dependencies.web-time]
version = "1"
[dependencies.xor_name]
version = "5"
[dev-dependencies.dirs-next]
version = "~2.0"
[dev-dependencies.serde_json]
version = "1.0.108"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.futures-util]
version = "0.3"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.gloo-timers]
version = "0.3"
features = ["futures"]