# 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"
version = "0.82.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance DeFi route-finding engine — embeddable library and CLI"
readme = "README.md"
license = "MIT"

[features]
default = ["metrics"]
metrics = [
    "dep:actix-web",
    "dep:metrics-exporter-prometheus",
]

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

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

[dependencies.actix-web]
version = "4"
optional = true

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.fynd-core]
version = "0.82.0"

[dependencies.fynd-rpc]
version = "0.82.0"

[dependencies.hex]
version = "0.4"

[dependencies.metrics-exporter-prometheus]
version = "0.16"
optional = true

[dependencies.opentelemetry]
version = "0.27"

[dependencies.opentelemetry-otlp]
version = "0.27"
features = ["tonic"]

[dependencies.opentelemetry_sdk]
version = "0.27"
features = ["rt-tokio"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
version = "0.28"

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

[dependencies.tycho-simulation]
version = ">=0.304"

[dependencies.utoipa]
version = "5"
features = ["actix_extras"]

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

[dev-dependencies.alloy-chains]
version = "0.2"

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

[dev-dependencies.dialoguer]
version = "0.11"

[dev-dependencies.fynd-client]
version = "0.82.0"

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

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

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

[dev-dependencies.rstest]
version = "0.18"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

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

[dev-dependencies.tycho-execution]
version = ">=0.304"
