bybit-rust-api 0.4.0

Complete Rust SDK for Bybit API V5 with all endpoints, comprehensive type safety and full test coverage
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.

[package]
edition = "2021"
name = "bybit-rust-api"
version = "0.4.0"
authors = ["Cafer Can Gundogdu <cafercangundogdu@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Complete Rust SDK for Bybit API V5 with all endpoints, comprehensive type safety and full test coverage"
homepage = "https://github.com/cafercangundogdu/bybit.rust.api"
documentation = "https://docs.rs/bybit-rust-api"
readme = "README.md"
keywords = [
    "bybit",
    "crypto",
    "trading",
    "api",
    "exchange",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cafercangundogdu/bybit.rust.api"

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

[[bin]]
name = "bybit-cli"
path = "src/main.rs"

[[example]]
name = "account_example"
path = "examples/account_example.rs"

[[example]]
name = "market"
path = "examples/market_example.rs"

[[example]]
name = "simple_example"
path = "examples/simple_example.rs"

[[example]]
name = "trading"
path = "examples/trading_example.rs"

[[example]]
name = "websocket"
path = "examples/websocket_example.rs"

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

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.dotenvy]
version = "0.15.7"

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

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.13.0"

[dependencies.log]
version = "0.4.30"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "rustls",
]

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.sha2]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["rustls-tls-native-roots"]

[dependencies.url]
version = "2.5.8"

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.tokio-test]
version = "0.4.5"

[dev-dependencies.wiremock]
version = "0.6.5"

[build-dependencies.askama]
version = "0.16.0"

[build-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[build-dependencies.serde_json]
version = "1.0.150"