v_exchanges 0.17.1

Implementations of HTTP/HTTPS/WebSocket API methods for some crypto exchanges, using [crypto-botters](<https://github.com/negi-grass/crypto-botters>) framework
Documentation
# 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.

cargo-features = ["codegen-backend"]

[package]
edition = "2024"
name = "v_exchanges"
version = "0.17.1"
authors = [
    "negi-grass",
    "valeratrades",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementations of HTTP/HTTPS/WebSocket API methods for some crypto exchanges, using [crypto-botters](<https://github.com/negi-grass/crypto-botters>) framework"
homepage = "https://github.com/valeratrades/v_exchanges"
documentation = "https://docs.rs/v_exchanges"
readme = "README.md"
keywords = [
    "client",
    "websocket",
    "asynchronous",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/valeratrades/v_exchanges/tree/master/v_exchanges"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]
all-features = false
features = [
    "major",
    "data",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--generate-link-to-definition",
]

[package.metadata.cargo-machete]
ignored = [
    "derive-new",
    "color-eyre",
    "serde",
    "tokio",
    "v_utils",
]

[features]
binance = ["v_exchanges_adapters/binance"]
bitflyer = ["v_exchanges_adapters/bitflyer"]
bybit = ["v_exchanges_adapters/bybit"]
coincheck = ["v_exchanges_adapters/coincheck"]
data = ["dep:reqwest"]
default = [
    "major",
    "data",
]
full = [
    "major",
    "data",
    "mexc",
    "kucoin",
    "bitflyer",
    "coincheck",
]
kucoin = ["v_exchanges_adapters/kucoin"]
major = [
    "binance",
    "bybit",
]
mexc = ["v_exchanges_adapters/mexc"]

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

[dependencies.arrayvec]
version = "^0.7.6"

[dependencies.async-trait]
version = "^0.1.89"

[dependencies.cfg-if]
version = "^1.0.4"

[dependencies.derive-new]
version = "^0.7.0"

[dependencies.derive_more]
version = "^2.1.1"
features = [
    "deref",
    "deref_mut",
]

[dependencies.enum_dispatch]
version = "0.3.13"

[dependencies.eyre]
version = "^0.6.12"

[dependencies.jiff]
version = "^0.2.23"

[dependencies.miette]
version = "^7.6.0"
features = ["fancy"]

[dependencies.reqwest]
version = "^0.13.2"
features = [
    "json",
    "query",
]
optional = true

[dependencies.secrecy]
version = "^0.10.3"

[dependencies.serde]
version = "^1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "^1.0.149"

[dependencies.serde_with]
version = "^3.17.0"

[dependencies.smart-default]
version = "^0.7.1"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.thiserror]
version = "^2.0.18"

[dependencies.tokio]
version = "^1.50.0"
features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "rt-multi-thread",
    "time",
]

[dependencies.tracing]
version = "^0.1.44"

[dependencies.uuid]
version = "^1.16"
features = ["v7"]

[dependencies.v_exchanges_adapters]
version = "^0.17.1"
optional = true

[dependencies.v_utils]
version = "^2.9.9"

[dev-dependencies.color-eyre]
version = "^0.6.5"

[dev-dependencies.insta]
version = "1.46.3"

[lints.clippy]
float_cmp = "allow"
get_first = "allow"
get_last_with_len = "allow"
len_zero = "allow"
tabs_in_doc_comments = "allow"
undocumented_unsafe_blocks = "warn"

[lints.rust]
unused_features = "allow"