# 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 = "evm_rpc_client"
version = "0.3.0"
authors = ["DFINITY Foundation"]
build = false
include = [
    "src",
    "Cargo.toml",
    "CHANGELOG.md",
    "LICENSE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for interacting with the EVM RPC canister"
documentation = "https://docs.rs/evm_rpc_client"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dfinity/evm-rpc-canister"

[features]
alloy = [
    "evm_rpc_types/alloy",
    "dep:alloy-primitives",
    "dep:alloy-rpc-types",
]

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

[dependencies.alloy-primitives]
version = "1.4.1"
optional = true

[dependencies.alloy-rpc-types]
version = "1.1.2"
optional = true

[dependencies.async-trait]
version = "0.1.89"

[dependencies.candid]
version = "0.10.20"

[dependencies.evm_rpc_types]
version = "3.1.0"

[dependencies.ic-canister-runtime]
version = "0.1.0"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dev-dependencies.alloy]
version = "1.1.2"

[dev-dependencies.alloy-primitives]
version = "1.4.1"

[dev-dependencies.alloy-rpc-types]
version = "1.1.2"

[dev-dependencies.tokio]
version = "1.48.0"
features = ["full"]
