zero-engine-client 0.1.2

Typed HTTP and WebSocket client for the ZERO paper engine.
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.93"
name = "zero-engine-client"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed HTTP and WebSocket client for the ZERO paper engine."
homepage = "https://getzero.dev"
documentation = "https://github.com/zero-intel/zero/tree/main/docs"
readme = false
keywords = [
    "zero",
    "onchain",
    "terminal",
    "automation",
    "trading",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/zero-intel/zero"

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["rustls-tls-native-roots"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "fast-rng",
    "serde",
]

[dependencies.zero-operator-state]
version = "0.1.2"

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

[dev-dependencies.zero-testkit]
version = "0.1.2"

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"