cargo-features = ["codegen-backend"]
[package]
edition = "2024"
name = "v_exchanges"
version = "0.18.3"
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 = ["color-eyre"]
[features]
binance = ["v_exchanges_methods/binance"]
bitflyer = ["v_exchanges_methods/bitflyer"]
bybit = ["v_exchanges_methods/bybit"]
coincheck = ["v_exchanges_methods/coincheck"]
data = ["v_exchanges_methods/data"]
default = [
"major",
"data",
]
full = [
"major",
"data",
"mexc",
"kucoin",
"bitflyer",
"coincheck",
]
kucoin = ["v_exchanges_methods/kucoin"]
major = [
"binance",
"bybit",
]
mexc = ["v_exchanges_methods/mexc"]
[lib]
name = "v_exchanges"
path = "src/lib.rs"
[dependencies.v_exchanges_methods]
version = "0.1.3"
default-features = false
[dev-dependencies.color-eyre]
version = "0.6"
[dev-dependencies.insta]
version = "1.47"
[dev-dependencies.jiff]
version = "^0.2"
[dev-dependencies.miette]
version = "^7.6"
features = ["fancy"]
[dev-dependencies.serde]
version = "^1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "^1.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "^1.52"
features = [
"sync",
"macros",
"io-util",
"rt",
"rt-multi-thread",
"time",
]
[dev-dependencies.tracing]
version = "^0.1.44"
[dev-dependencies.v_exchanges_adapters]
version = "0.18.3"
[dev-dependencies.v_exchanges_persistence]
version = "0.1.3"
[dev-dependencies.v_utils]
version = "^2.15"
[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"