[package]
edition = "2021"
name = "predict-sdk"
version = "0.1.0"
authors = ["Alex Kuznetsov <alex.sproot@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Predict.fun prediction market - order building, EIP-712 signing, and real-time WebSocket data"
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",
]
license = "MIT"
repository = "https://github.com/sproot/predict-sdk"
[lib]
name = "predict_sdk"
path = "src/lib.rs"
[dependencies.alloy]
version = "1.0"
features = [
"signer-local",
"sol-types",
"contract",
"eip712",
"provider-http",
]
[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dashmap]
version = "6.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.once_cell]
version = "1.20"
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
version = "0.12"
features = ["json"]
[dependencies.rust_decimal]
version = "1.39"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.ws-reconnect-client]
version = "0.1"
[dev-dependencies.rust_decimal_macros]
version = "1.39"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"