# 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 = "tycho-client"
version = "0.300.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library and CLI tool for querying and accessing liquidity data from Tycho indexer."
homepage = "https://www.propellerheads.xyz/tycho"
documentation = "https://docs.propellerheads.xyz/tycho"
readme = "README.md"
keywords = [
    "propellerheads",
    "solver",
    "defi",
    "dex",
    "mev",
]
categories = [
    "finance",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/propeller-heads/tycho"

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

[[bin]]
name = "tycho-client"
path = "src/main.rs"

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

[dependencies.backoff]
version = "0.4.0"
features = [
    "tokio",
    "futures",
]

[dependencies.chrono]
version = "0.4.26"
features = [
    "serde",
    "clock",
    "std",
]
default-features = false

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

[dependencies.futures03]
version = "0.3.31"
features = ["compat"]
package = "futures"

[dependencies.hex]
version = "0.4.3"

[dependencies.hyper]
version = "0.14.27"

[dependencies.lru]
version = "0.16.3"

[dependencies.reqwest]
version = "0.12.7"
features = [
    "json",
    "zstd",
]

[dependencies.serde]
version = "1.0.204"
features = [
    "rc",
    "derive",
]

[dependencies.serde_json]
version = "1.0.120"

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3.41"

[dependencies.tokio]
version = "1.47.1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.20.0"
features = ["native-tls"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3.17"
features = [
    "env-filter",
    "fmt",
    "json",
]
default-features = false

[dependencies.tycho-common]
version = "0.300.0"

[dependencies.uuid]
version = "1.4.1"
features = [
    "serde",
    "macro-diagnostics",
]

[dependencies.zstd]
version = "0.13"

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.mockito]
version = "1.1.1"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.rand]
version = "0.8.5"

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

[dev-dependencies.test-log]
version = "0.2.14"
features = ["trace"]

[dev-dependencies.tracing-subscriber]
version = "0.3.17"
