snapcast-control
snapcast-control is a Rust api client for Snapcast. It supports all features of the Snapcast JSON-RPC API as of version 0.28.0 (2024/6/25).
Documentation is available at docs.rs.
Features
- native rust types for all api requests and responses
- tokio-based async client
- client with helper methods for all api requests
- automatic socket reconnection via stubborn-io
Installation
Usage
The best example of this crate's usage is snapcast-multiroom, the project I designed it for.
A simple example of usage:
use ;
async