[package]
edition = "2024"
rust-version = "1.94.1"
name = "polyrel"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial Polymarket relayer client"
homepage = "https://github.com/hubcycle/polyrel"
documentation = "https://docs.rs/polyrel"
readme = "README.md"
keywords = [
"polymarket",
"relayer",
"gasless",
"ethereum",
"polygon",
]
categories = ["api-bindings"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/hubcycle/polyrel"
[lib]
name = "polyrel"
path = "src/lib.rs"
[[test]]
name = "deploy_safe"
path = "tests/deploy_safe.rs"
[dependencies.alloy-primitives]
version = "1.5"
features = ["serde"]
[dependencies.alloy-signer]
version = "1.8"
[dependencies.alloy-sol-types]
version = "1.5"
[dependencies.base64]
version = "0.22"
[dependencies.bon]
version = "3.9"
[dependencies.hmac]
version = "0.13"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"query",
]
[dependencies.secrecy]
version = "0.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.51"
features = ["time"]
[dependencies.url]
version = "2.5"
[dev-dependencies.alloy-signer-local]
version = "1.8"
[dev-dependencies.tokio]
version = "1.51"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
wildcard_imports = "deny"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"