# 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"
rust-version = "1.85.0"
name = "bpx-cli"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official CLI for Backpack Exchange"
homepage = "https://backpack.exchange"
readme = "README.md"
keywords = [
    "backpack",
    "exchange",
    "trading",
    "cli",
    "crypto",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/backpack-exchange/bpx-cli"

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

[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"

[[test]]
name = "config_tests"
path = "tests/config_tests.rs"

[[test]]
name = "output_tests"
path = "tests/output_tests.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64ct]
version = "1"
features = ["alloc"]

[dependencies.bpx-api-client]
version = "0.17"
features = ["ws"]

[dependencies.bpx-api-types]
version = "0.17"

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

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

[dependencies.clap_complete]
version = "4"

[dependencies.crossterm]
version = "0.28"

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "6"

[dependencies.ed25519-dalek]
version = "2"

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

[dependencies.indicatif]
version = "0.17"

[dependencies.owo-colors]
version = "4"

[dependencies.ratatui]
version = "0.29"

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

[dependencies.rust_decimal]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tabled]
version = "0.17"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.insta]
version = "1"
features = ["yaml"]

[dev-dependencies.predicates]
version = "3"

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

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
