12 releases (6 breaking)

0.9.3 Dec 4, 2025
0.9.2 Nov 29, 2025
0.8.0 Nov 22, 2025
0.7.0 Nov 21, 2025
0.2.3 Nov 19, 2025

#610 in Cryptography

Download history 10/week @ 2025-11-14 36/week @ 2025-11-21 16/week @ 2025-11-28 6/week @ 2025-12-05

68 downloads per month
Used in 13 crates (9 directly)

MIT/Apache

80KB
2K SLoC

tesser-broker

Exchange-agnostic traits that define how the rest of the system talks to brokers.

Overview

  • Declares interfaces like MarketStream, ExecutionClient, HistoricalData, EventPublisher, and SignalBus.
  • Provides the BrokerError hierarchy used for consistent error handling across connectors.
  • No concrete exchange logic lives here—connectors implement these traits.

Implementing a Connector

  1. Depend on tesser-broker and tesser-core.
  2. Implement the necessary traits (ExecutionClient, MarketStream, etc.).
  3. Map transport or exchange errors into BrokerErrorKind so upstream crates can react uniformly.

Tests

cargo test -p tesser-broker

Dependencies

~4.5–6.5MB
~116K SLoC