hypersdk 0.2.2

Rust SDK for Hyperliquid
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.0"
name = "hypersdk"
version = "0.2.2"
authors = ["Dario <dario@infinitefieldtrading.com>"]
build = false
exclude = [
    "/.github/*",
    "/examples/*",
    "/tests/*",
    "/.gitignore",
]
include = [
    "abi/**",
    "src/**",
    "README.md",
    "LICENSE*",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Hyperliquid"
homepage = "https://github.com/infinitefield/hypersdk"
documentation = "https://docs.rs/hypersdk"
readme = "README.md"
keywords = [
    "hyperliquid",
    "sdk",
    "trading",
    "dex",
    "perps",
]
license = "MPL-2.0"
repository = "https://github.com/infinitefield/hypersdk"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.alloy]
version = "1.1"
features = [
    "contract",
    "eip712",
    "getrandom",
    "providers",
    "reqwest",
    "reqwest-rustls-tls",
    "rpc",
    "rpc-types",
    "signer-local",
    "signers",
    "sol-types",
]
default-features = false

[dependencies.anyhow]
version = "1"

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

[dependencies.const-hex]
version = "1.17"
features = ["serde"]

[dependencies.derive_more]
version = "2"
features = [
    "display",
    "is_variant",
]

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

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

[dependencies.hex-literal]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

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

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

[dependencies.rust_decimal]
version = "1.39"
features = [
    "macros",
    "maths",
    "serde",
    "serde-with-str",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = ["std"]
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "test-util",
    "time",
]
default-features = false

[dependencies.url]
version = "2"

[dependencies.yawc]
version = "0.3"
features = ["simd"]

[dev-dependencies.alloy]
version = "1"
features = [
    "pubsub",
    "signer-keystore",
]
default-features = false

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.indicatif]
version = "0.18.3"

[dev-dependencies.rpassword]
version = "7.4.0"

[dev-dependencies.simple_logger]
version = "5"

[dev-dependencies.tokio]
version = "1"
features = ["full"]