# 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 = "indodax-cli"
version = "0.1.41"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line interface for the Indodax cryptocurrency exchange"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ibidathoillah/indodax-cli"

[features]
cli = [
    "dep:colored",
    "dep:dialoguer",
    "dep:rustyline",
    "dep:comfy-table",
    "dep:clap",
    "dep:tokio-tungstenite",
]
default = ["sdk"]
mcp = ["dep:rmcp"]
sdk = []
server = [
    "dep:axum",
    "dep:tokio-tungstenite",
]

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

[[bin]]
name = "indodax-cli"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.7"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true

[dependencies.colored]
version = "2"
optional = true

[dependencies.comfy-table]
version = "7"
optional = true

[dependencies.dialoguer]
version = "0.11"
optional = true

[dependencies.dirs]
version = "6"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-webpki-roots",
]
default-features = false

[dependencies.rmcp]
version = "1.6"
features = [
    "server",
    "transport-io",
    "macros",
    "schemars",
]
optional = true

[dependencies.rustyline]
version = "12"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio-tungstenite]
version = "0.24"
optional = true

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.web-time]
version = "1.1"

[dev-dependencies.serial_test]
version = "3.4.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.indicatif]
version = "0.17"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.shlex]
version = "1.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1"
features = [
    "macros",
    "sync",
    "time",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Location",
    "Window",
]
