| Crates.io | handlers_sv2 |
| lib.rs | handlers_sv2 |
| version | 0.2.1 |
| created_at | 2025-09-25 00:15:53.953588+00 |
| updated_at | 2026-01-22 14:16:15.51272+00 |
| description | Sv2 Message handlers |
| homepage | https://stratumprotocol.org |
| repository | https://github.com/stratum-mining/stratum |
| max_upload_size | |
| id | 1853963 |
| size | 132,948 |
The handlers_sv2 crate defines traits for handling Sv2 messages, with separate variants for servers and clients. Implementors can choose which message types to support—such as Mining, TemplateDistribution, Common, JobDeclaration, or Extensions based on their role in the system. Both synchronous and asynchronous versions are provided, making the crate adaptable to different execution environments.
To include this crate in your project, run:
cargo add handlers_sv2