# 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 = "fynd-client"
version = "0.63.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Fynd DEX router"
readme = "README.md"
license = "MIT"

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

[[example]]
name = "quote"
path = "examples/quote.rs"

[[example]]
name = "swap_client_fee"
path = "examples/swap_client_fee.rs"

[[example]]
name = "swap_erc20"
path = "examples/swap_erc20.rs"

[[example]]
name = "swap_permit2"
path = "examples/swap_permit2.rs"

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

[dependencies.alloy]
version = "1"
features = [
    "consensus",
    "dyn-abi",
    "eip712",
    "network",
    "providers",
    "provider-http",
    "rpc-types-eth",
]

[dependencies.bytes]
version = "1"

[dependencies.fynd-rpc-types]
version = "0.63.0"

[dependencies.num-bigint]
version = "0.4"
features = ["serde"]

[dependencies.num-traits]
version = "0.2"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.alloy]
version = "1"
features = [
    "consensus",
    "dyn-abi",
    "eip712",
    "network",
    "providers",
    "provider-http",
    "rpc-types-eth",
    "signer-local",
]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
]

[dev-dependencies.wiremock]
version = "0.6"
