[package]
edition = "2021"
rust-version = "1.75"
name = "bybit-api"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for the Bybit V5 API - async, type-safe, zero-panic"
documentation = "https://docs.rs/bybit-api"
readme = "README.md"
keywords = [
"bybit",
"cryptocurrency",
"trading",
"api",
"async",
]
categories = [
"api-bindings",
"cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/bybit-exchange/bybit-rust-api"
[lib]
name = "bybit_api"
path = "src/lib.rs"
[[example]]
name = "get_positions"
path = "examples/get_positions.rs"
[[example]]
name = "get_wallet_balance"
path = "examples/get_wallet_balance.rs"
[[example]]
name = "market_ticker"
path = "examples/market_ticker.rs"
[[example]]
name = "place_order"
path = "examples/place_order.rs"
[[example]]
name = "websocket_orderbook"
path = "examples/websocket_orderbook.rs"
[[example]]
name = "websocket_private"
path = "examples/websocket_private.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.rust_decimal]
version = "1"
features = ["serde-with-str"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dependencies.tokio-tungstenite]
version = "0.24"
features = ["native-tls"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]