[package]
edition = "2021"
name = "asterdex-sdk"
version = "0.1.2"
authors = ["seltosoj"]
build = false
exclude = [
"docs/",
".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AsterDex Futures SDK v3 — Rust async client for REST and WebSocket APIs"
homepage = "https://github.com/seltosoj/asterdex_sdk_v3_rust"
documentation = "https://docs.rs/asterdex-sdk"
readme = "README.md"
keywords = [
"trading",
"futures",
"dex",
"websocket",
"crypto",
]
categories = [
"api-bindings",
"asynchronous",
"network-programming",
]
license = "MIT"
repository = "https://github.com/seltosoj/asterdex_sdk_v3_rust"
[lib]
name = "asterdex_sdk"
path = "src/lib.rs"
[[test]]
name = "aster_account"
path = "tests/aster_account.rs"
[[test]]
name = "aster_integration"
path = "tests/aster_integration.rs"
[[test]]
name = "aster_market_data"
path = "tests/aster_market_data.rs"
[[test]]
name = "aster_timing"
path = "tests/aster_timing.rs"
[[test]]
name = "aster_websocket"
path = "tests/aster_websocket.rs"
[[test]]
name = "auth_tests"
path = "tests/auth_tests.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "m1_unit_tests"
path = "tests/m1_unit_tests.rs"
[dependencies.alloy-primitives]
version = "1"
[dependencies.alloy-signer]
version = "2"
[dependencies.alloy-signer-local]
version = "2"
[dependencies.alloy-sol-types]
version = "1"
[dependencies.futures-util]
version = "0.3"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"time",
"net",
"macros",
]
[dependencies.tokio-tungstenite]
version = "0.21"
features = ["rustls-tls-native-roots"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.urlencoding]
version = "2"
[dev-dependencies.dotenvy]
version = "0.15"
[dev-dependencies.mockito]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"time",
"net",
"macros",
"test-util",
]