maxt 0.1.0

One Rust API for Upbit, Bithumb, Binance, and Hyperliquid market data, accounts, and orders.
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"
rust-version = "1.85"
name = "maxt"
version = "0.1.0"
build = false
exclude = [
    "/.cargo",
    "/.github",
    "/bindings",
    "/docs/superpowers",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One Rust API for Upbit, Bithumb, Binance, and Hyperliquid market data, accounts, and orders."
homepage = "https://github.com/jabdori/maxt"
documentation = "https://docs.rs/maxt"
readme = "README.md"
keywords = [
    "exchange",
    "trading",
    "crypto",
    "websocket",
    "async",
]
categories = [
    "api-bindings",
    "asynchronous",
    "finance",
]
license = "MIT"
repository = "https://github.com/jabdori/maxt"

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.13"

[dependencies.http]
version = "1"

[dependencies.k256]
version = "0.13"
features = [
    "ecdsa",
    "sha256",
]

[dependencies.rmp-serde]
version = "1"

[dependencies.rust_decimal]
version = "1"
features = [
    "std",
    "serde-str",
]
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["arbitrary_precision"]

[dependencies.sha2]
version = "0.11"

[dependencies.sha3]
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.13"
features = ["rustls-no-provider"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "macros",
    "net",
    "rt",
    "sync",
    "time",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
version = "0.29"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1"
features = ["v4"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.jsonwebtoken]
version = "10"
features = ["aws_lc_rs"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.3"
features = ["futures"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.13"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.send_wrapper]
version = "0.6"
features = ["futures"]

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "sync",
    "time",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
    "js",
    "v4",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "BinaryType",
    "Event",
    "MessageEvent",
    "WebSocket",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.jsonwebtoken]
version = "10"
features = ["rust_crypto"]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "sync",
    "time",
]
default-features = false

[lints.clippy]
all = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"