oxarchive 1.2.0

Rust client library for the 0xArchive API — historical and real-time crypto market data across Hyperliquid, Lighter.xyz, and HIP-3
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"
rust-version = "1.75"
name = "oxarchive"
version = "1.2.0"
build = false
exclude = ["examples/test_all.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for the 0xArchive API — historical and real-time crypto market data across Hyperliquid, Lighter.xyz, and HIP-3"
homepage = "https://0xarchive.io"
documentation = "https://docs.rs/oxarchive"
readme = "README.md"
keywords = [
    "crypto",
    "market-data",
    "hyperliquid",
    "orderbook",
    "trading",
]
categories = [
    "api-bindings",
    "finance",
]
license = "MIT"
repository = "https://github.com/0xArchiveIO/sdk-rust"

[features]
default = []
websocket = [
    "dep:tokio-tungstenite",
    "dep:futures-util",
]

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

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

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

[[example]]
name = "websocket"
path = "examples/websocket.rs"
required-features = ["websocket"]

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

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["native-tls"]
optional = true

[dependencies.url]
version = "2"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

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