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

Download history 3/week @ 2025-01-01 3/week @ 2025-02-05 4/week @ 2025-02-12 13/week @ 2025-02-19 10/week @ 2025-02-26 16/week @ 2025-03-12 242/week @ 2025-04-02 36/week @ 2025-04-09 186/week @ 2025-04-16

464 downloads per month
Used in betfair-stream-server-moc…

MIT/Apache

590KB
3.5K SLoC

Betfair Adapter

check docs msrv test unused-deps deny audit

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