[package]
edition = "2021"
name = "predict-fun-sdk"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the Predict.fun prediction market API — EIP-712 order signing, REST client, WebSocket feeds, and execution pipeline"
homepage = "https://predict.fun"
documentation = "https://docs.rs/predict-fun-sdk"
readme = "README.md"
keywords = [
"predict-fun",
"prediction-market",
"eip712",
"bnb-chain",
"trading",
]
categories = [
"api-bindings",
"cryptography",
"finance",
]
license = "MIT"
repository = "https://github.com/pm-alpha/predict-fun-sdk"
[lib]
name = "predict_fun_sdk"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.alloy-primitives]
version = "1.4.1"
features = ["k256"]
[dependencies.alloy-signer]
version = "1.7.3"
[dependencies.alloy-signer-local]
version = "1.7.3"
[dependencies.alloy-sol-types]
version = "1.4.1"
[dependencies.anyhow]
version = "1.0"
[dependencies.futures-util]
version = "0.3"
[dependencies.reqwest]
version = "0.11"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = [
"sync",
"time",
"rt",
"macros",
]
[dependencies.tokio-tungstenite]
version = "0.21"
features = ["rustls-tls-webpki-roots"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1.0"
features = ["full"]