[package]
name = "fynd-client"
version.workspace = true
edition = "2021"
description = "Rust client for the Fynd DEX router"
license = "MIT"
readme = "README.md"

[dependencies]
# Shared RPC wire types
fynd-rpc-types = { workspace = true }

# Alloy (Ethereum primitives, providers, consensus)
alloy = { workspace = true }

# Amounts
num-bigint = { workspace = true }
num-traits = { workspace = true }

# Raw bytes for addresses
bytes = { workspace = true }

# Async
tokio = { workspace = true }

# HTTP client
reqwest = { version = "0.12", features = ["json"] }

# Serialization
serde_json = { workspace = true }

# Error handling
thiserror = { workspace = true }

# Logging
tracing = { workspace = true }

[dev-dependencies]
tokio = { workspace = true }
wiremock = "0.6"
serde_json = { workspace = true }
hex = { workspace = true }
alloy = { workspace = true, features = ["signer-local"] }
