[package]
name = "predict-sdk"
version = "0.1.0"
edition = "2021"
authors = ["Alex Kuznetsov <alex.sproot@gmail.com>"]
description = "Rust SDK for Predict.fun prediction market - order building, EIP-712 signing, and real-time WebSocket data"
license = "MIT"
repository = "https://github.com/sproot/predict-sdk"
homepage = "https://github.com/sproot/predict-sdk"
documentation = "https://docs.rs/predict-sdk"
readme = "README.md"
keywords = ["predict", "prediction-market", "trading", "bnb-chain", "defi"]
categories = ["api-bindings", "cryptography::cryptocurrencies"]
[dependencies]
ws-reconnect-client = "0.1"
alloy = { version = "1.0", features = ["signer-local", "sol-types", "contract", "eip712", "provider-http"] }
rust_decimal = "1.39"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
anyhow = "1.0"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.12", features = ["json"] }
once_cell = "1.20"
chrono = { version = "0.4", features = ["serde"] }
hex = "0.4"
rand = "0.9"
tracing = "0.1"
futures-util = "0.3"
dashmap = "6.1"
[dev-dependencies]
tokio-test = "0.4"
rust_decimal_macros = "1.39"
tracing-subscriber = "0.3"