derive-rs 0.1.16

Rust SDK for Derive.xyz
# 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"
name = "derive-rs"
version = "0.1.16"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Derive.xyz"
homepage = "https://github.com/derivexyz/derive-rs"
readme = "README.md"
license = "MIT"

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

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

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

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

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

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

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

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

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

[[test]]
name = "00_quickstart"
path = "tests/00_quickstart.rs"

[[test]]
name = "01_session_keys"
path = "tests/01_session_keys.rs"

[[test]]
name = "02_session_login"
path = "tests/02_session_login.rs"

[[test]]
name = "06_managers_and_risk_universe"
path = "tests/06_managers_and_risk_universe.rs"

[[test]]
name = "09_market_maker_protection"
path = "tests/09_market_maker_protection.rs"

[[test]]
name = "10_cancel_on_disconnect"
path = "tests/10_cancel_on_disconnect.rs"

[[test]]
name = "11_instrument_names"
path = "tests/11_instrument_names.rs"

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

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

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

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

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

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

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

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

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

[dependencies.alloy]
version = "2.3.0"
features = [
    "signer-local",
    "providers",
    "reqwest",
    "contract",
]
default-features = false

[dependencies.alloy-sol-types]
version = "1.6.1"

[dependencies.anyhow]
version = "1.0.104"

[dependencies.bigdecimal]
version = "0.4.10"
features = [
    "serde",
    "serde-json",
]

[dependencies.bon]
version = "3.9.3"

[dependencies.bytes]
version = "1.12.1"

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

[dependencies.dashmap]
version = "6.2.1"

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

[dependencies.regress]
version = "0.11.1"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "query",
]

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.strum]
version = "0.28.0"
features = [
    "derive",
    "strum_macros",
]

[dependencies.thiserror]
version = "2.0.19"

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

[dependencies.tokio-stream]
version = "0.1.19"
features = ["sync"]

[dependencies.tracing]
version = "0.1.44"

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

[dependencies.yawc]
version = "0.3.3"

[dev-dependencies.regex]
version = "1.13.1"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"

[build-dependencies.heck]
version = "0.5.0"

[build-dependencies.prettyplease]
version = "0.3.0"

[build-dependencies.proc-macro2]
version = "1.0.107"

[build-dependencies.quote]
version = "1.0.47"

[build-dependencies.regex]
version = "1.13.1"

[build-dependencies.schemars]
version = "0.8"

[build-dependencies.serde_json]
version = "1.0.151"

[build-dependencies.syn]
version = "3.0.3"

[build-dependencies.typify]
version = "0.7.0"