# 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 = "erc20_processor"
version = "0.4.7"
authors = ["Sieciech Czajka <sieciech.czajka@golem.network>"]
description = "Payment processor for ERC20 tokens"
readme = "README.md"
license = "MIT"

[profile.release-fast]
opt-level = 1
panic = "unwind"
incremental = false
inherits = "release"

[profile.release-lto]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
inherits = "release"

[[bin]]
name = "erc20_processor"
path = "src/main.rs"

[dependencies.actix-cors]
version = "0.6"

[dependencies.actix-files]
version = "0.6"

[dependencies.actix-web]
version = "4"
features = ["macros"]
default-features = false

[dependencies.anyhow]
version = "1"

[dependencies.awc]
version = "3.1"
features = ["rustls"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.csv]
version = "1.2"

[dependencies.dotenv]
version = "0.15"

[dependencies.env_logger]
version = "0.10"

[dependencies.erc20_payment_lib]
version = "0.4.7"

[dependencies.erc20_payment_lib_common]
version = "0.4.7"

[dependencies.erc20_payment_lib_extra]
version = "0.4.7"

[dependencies.erc20_rpc_pool]
version = "0.4.7"

[dependencies.eth-keystore]
version = "0.5"

[dependencies.fastrand]
version = "2.0.0"

[dependencies.futures]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.itertools]
version = "0.11"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4.17"

[dependencies.metrics]
version = "0.12"

[dependencies.metrics-runtime]
version = "0.13.1"
features = ["observers"]
default-features = false

[dependencies.rand]
version = "0.8.5"

[dependencies.regex]
version = "1.10.2"

[dependencies.rust_decimal]
version = "1.26"

[dependencies.rustc-hex]
version = "2.1"

[dependencies.secp256k1]
version = "0.27"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha3]
version = "0.10.6"

[dependencies.sqlx]
version = "0.7"
features = [
    "sqlite",
    "chrono",
    "runtime-tokio",
]

[dependencies.stream-rate-limiter]
version = "0.4"

[dependencies.structopt]
version = "0.3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "^1.21"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.toml]
version = "0.8.8"

[dependencies.trust-dns-resolver]
version = "0.23"

[dependencies.url]
version = "2.4"

[dependencies.uuid]
version = "1.2"
features = [
    "serde",
    "v4",
]

[dependencies.web3]
version = "0.19"
features = [
    "signing",
    "http-rustls-tls",
]
default-features = false

[dev-dependencies.awc]
version = "3.1"
features = ["rustls"]

[dev-dependencies.bollard]
version = "0.14"