# 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-core"
version = "0.75.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core solving logic for Fynd DEX router"
readme = "README.md"
license = "MIT"

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

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

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

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

[dependencies.async-channel]
version = "2.5.0"

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

[dependencies.chrono]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.itertools]
version = "0.14.0"

[dependencies.lazy_static]
version = "1.5.0"
default-features = false

[dependencies.metrics]
version = "0.24"

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

[dependencies.num-rational]
version = "0.4"

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

[dependencies.num_cpus]
version = "1.16"

[dependencies.petgraph]
version = "0.6"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = ["std"]

[dependencies.thiserror]
version = "1"

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

[dependencies.tokio-stream]
version = "0.1.18"

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

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.typetag]
version = "0.2"

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

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

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