polyester-sdk 0.1.0-alpha.28

Official Rust SDK for Polyester APIs.
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.88"
name = "polyester-sdk"
version = "0.1.0-alpha.28"
authors = ["Fabric Blockchain Labs Inc."]
build = false
exclude = [
    ".github/",
    "tests/integration/",
    "src/gen/buffa/gnostic.openapi.v3.rs",
    "src/gen/buffa/buf.validate.rs",
    "src/gen/buffa/google.api.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for Polyester APIs."
homepage = "https://github.com/Fabric-Labs/polyester-sdk-rust"
documentation = "https://polyester.ai/docs/sdk/rust/get-started/overview"
readme = "README.md"
keywords = [
    "polyester",
    "trading",
    "sdk",
    "connectrpc",
    "protobuf",
]
categories = [
    "api-bindings",
    "finance",
    "network-programming",
]
license-file = "LICENSE"
repository = "https://github.com/Fabric-Labs/polyester-sdk-rust"

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

[features]
chain = []
realtime = []

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

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

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

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

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

[dependencies.alloy-primitives]
version = "1"

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

[dependencies.base64]
version = "0.22"

[dependencies.bs58]
version = "0.5"

[dependencies.buffa]
version = "0.8.1"
features = ["json"]

[dependencies.buffa-descriptor]
version = "0.8.1"

[dependencies.buffa-types]
version = "0.8"
features = ["json"]

[dependencies.bytes]
version = "1"

[dependencies.connectrpc]
version = "0.8"
features = [
    "client",
    "client-tls",
]

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

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

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
]

[dependencies.hyper-rustls]
version = "0.27"
features = [
    "http1",
    "native-tokio",
    "ring",
    "tls12",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "client-legacy",
    "tokio",
]

[dependencies.k256]
version = "0.13"
features = [
    "ecdsa",
    "std",
]
default-features = false

[dependencies.percent-encoding]
version = "2"

[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]

[dependencies.rust_decimal]
version = "1"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
    "tls12",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.26"
features = ["rustls-tls-webpki-roots"]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.webpki-roots]
version = "0.26"

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

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

[dev-dependencies.trybuild]
version = "1.0"