RivetKit Rust Client

•
16
•

Streamlines the development of Rust clients and backends that connect to Rivet Actors using typed handles and real-time event subscriptions.

The RivetKit Rust Client skill provides expert guidance for developers building applications that interface with Rivet Actors using the Rust programming language. It offers standardized patterns for implementing strongly-typed actor handles, managing both stateless HTTP actions and stateful WebSocket connections, and handling domain-specific events. This skill ensures robust implementation by enforcing best practices for error handling with anyhow, demonstrating secure actor addressing via compound keys, and providing boilerplate for complex connection lifecycles in high-performance environments.

Key Features

01Integration patterns for common Rust backends like Axum and Actix
02Standardized error handling and fail-fast propagation policies
03Strongly-typed actor handles for compile-time safety
0416 GitHub stars
05Real-time event subscription and WebSocket management
06Support for both stateless (request-based) and stateful (connection-based) patterns

Use Cases

01Implementing secure, typed communication between distributed microservices
02Building real-time collaborative tools or multiplayer game clients in Rust
03Developing high-performance Rust backends that orchestrate Rivet Actor workflows