# 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 = "2018"
name = "ethereal_rust_sdk"
version = "0.1.14"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trading client for Ethereal exchange"
readme = "readme.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/8ball030/ethereal_rust_sdk"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.ethers]
version = "2.0.0"
features = ["eip712"]
default-features = false

[dependencies.futures-util]
version = "0.3.31"

[dependencies.log]
version = "0.4.29"

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

[dependencies.rust_decimal]
version = "1.40.0"

[dependencies.rust_decimal_macros]
version = "1.40.0"

[dependencies.rust_socketio]
version = "0.6.0"
features = ["async"]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.serde_repr]
version = "0.1"

[dependencies.simple_logger]
version = "5.1.0"

[dependencies.tokio]
version = "1.49.0"
features = [
    "sync",
    "rt-multi-thread",
    "macros",
]

[dependencies.url]
version = "2.5.7"

[dependencies.uuid]
version = "1.19.0"
features = ["serde"]

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

[dev-dependencies.tokio-test]
version = "0.4"
