7 unstable releases (3 breaking)
Uses new Rust 2024
new 0.5.0 | Apr 25, 2025 |
---|---|
0.4.1 | Apr 21, 2025 |
0.2.1 | Apr 6, 2025 |
0.1.2 | Dec 24, 2024 |
#295 in Authentication
464 downloads per month
Used in betfair-stream-server-moc…
590KB
3.5K
SLoC
Betfair Adapter
https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Sample+Code
Utilities for interacting with Betfair from Rust
Development setup
# Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# See the available commands
cargo xtask --help
lib.rs
:
Betfair Stream API client implementation.
This crate provides an asynchronous client for interacting with Betfair's Streaming API.
It manages connection setup, handshake, framing, heartbeats, and automatic reconnections.
Users can customize how incoming messages are handled by implementing the MessageProcessor
trait
or using the built-in Cache
processor for maintaining market and order caches.
Dependencies
~17–30MB
~533K SLoC