[package]
edition = "2024"
name = "betfair-stream-api"
version = "0.7.0"
authors = ["Roberts Pumpurs <roberts@pumpurlabs.com>"]
build = false
exclude = [
"/.github/",
"/xtask/",
"/supabase/",
"/certs/",
"/crates/stream-api-subscribe-to-market",
"/crates/stream-api-subscribe-to-orders",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Utilities for interacting with Betfair from Rust
"""
homepage = "https://github.com/roberts-pumpurs/betfair-adapter-rs"
documentation = "https://github.com/roberts-pumpurs/betfair-adapter-rs"
readme = false
keywords = [
"auth",
"betfair",
"stream",
"rpc",
"betting",
]
categories = [
"api-bindings",
"authentication",
"finance",
"asynchronous",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/roberts-pumpurs/betfair-adapter-rs"
resolver = "2"
[lib]
name = "betfair_stream_api"
path = "src/lib.rs"
[[test]]
name = "module"
path = "tests/module/main.rs"
[dependencies.backon]
version = "1"
[dependencies.betfair-adapter]
version = "0"
[dependencies.betfair-stream-types]
version = "0"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
"std",
]
default-features = false
[dependencies.eyre]
version = "0.6"
[dependencies.futures]
version = "0.3"
[dependencies.rustls]
version = "0.23"
default-features = false
[dependencies.rustls-native-certs]
version = "0.8"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1.0"
features = [
"full",
"tracing",
]
[dependencies.tokio-rustls]
version = "0.26"
features = ["tls12"]
default-features = false
[dependencies.tokio-stream]
version = "0.1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.pretty_assertions]
version = "1"
[lints.clippy]
[lints.rust.rust_2018_idioms]
level = "deny"
priority = 0
[lints.rust.unreachable_pub]
level = "warn"
priority = -1
[lints.rust.unused_imports]
level = "warn"
priority = -1
[lints.rust.unused_must_use]
level = "deny"
priority = -1