# 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 = "hl-types"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hyperliquid domain types — orders, signatures, candles, accounts, errors"
homepage = "https://github.com/motosan-dev/motosan-hyperliquid"
documentation = "https://docs.rs/hl-types"
readme = "README.md"
keywords = [
    "hyperliquid",
    "trading",
    "defi",
    "eip712",
    "dex",
]
categories = [
    "api-bindings",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/motosan-dev/motosan-hyperliquid"

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

[[bench]]
name = "parsing"
path = "benches/parsing.rs"
harness = false

[dependencies.rust_decimal]
version = "1"
features = ["serde-with-str"]

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

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

[dependencies.thiserror]
version = "1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
