patisson-bybit-sdk 0.2.2

Unofficial Rust SDK for the Bybit exchange API
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 = "2024"
name = "patisson-bybit-sdk"
version = "0.2.2"
authors = ["Yurii Musolov <yurii.musolov@gmail.com>"]
build = false
include = [
    "/src/**/*",
    "/examples/**/*",
    "/Cargo.toml",
    "/README.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial Rust SDK for the Bybit exchange API"
documentation = "https://docs.rs/crate/patisson-bybit-sdk"
readme = "README.md"
keywords = [
    "bybit",
    "sdk",
    "crypto",
    "trading",
    "cryptocurrency",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/yurii-musolov/patisson-bybit-sdk"

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

[[example]]
name = "get-api-key-information"
path = "examples/get-api-key-information.rs"

[[example]]
name = "get-open-orders"
path = "examples/get-open-orders.rs"

[[example]]
name = "get-position-info"
path = "examples/get-position-info.rs"

[[example]]
name = "get-transaction-log"
path = "examples/get-transaction-log.rs"

[[example]]
name = "instruments-info"
path = "examples/instruments-info.rs"

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

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

[[example]]
name = "place-order"
path = "examples/place-order.rs"

[[example]]
name = "recent-trading-history"
path = "examples/recent-trading-history.rs"

[[example]]
name = "server-time"
path = "examples/server-time.rs"

[[example]]
name = "stream-all-liquidation"
path = "examples/stream-all-liquidation.rs"

[[example]]
name = "stream-orderbook"
path = "examples/stream-orderbook.rs"

[[example]]
name = "stream-private"
path = "examples/stream-private.rs"

[[example]]
name = "stream-public"
path = "examples/stream-public.rs"

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.futures]
version = "0.3.32"

[dependencies.futures-util]
version = "0.3.32"
features = [
    "sink",
    "std",
]
default-features = false

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.13.0"

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

[dependencies.rust_decimal]
version = "1.42.1"
features = [
    "std",
    "macros",
    "serde-str",
    "serde-with-str",
]

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

[dependencies.serde-aux]
version = "4.7"

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_path_to_error]
version = "0.1.20"

[dependencies.serde_repr]
version = "0.1.20"

[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 = ["native-tls"]

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tungstenite]
version = "0.29.0"

[dependencies.url]
version = "2.5.8"

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