job_declaration_sv2 2.0.0

SV2 job declaration protocol types
Documentation

job_declaration_sv2

crates.io docs.rs rustc+ license codecov

job_declaration_sv2 is a Rust #![no-std] crate that contains the messages defined in the Job Declaration Protocol of Stratum V2. This protocol runs between the Job Declarator Server(JDS) and Job Declarator Client(JDC). and can be provided as a trusted 3rd party service for mining farms.

For further information about the messages, please refer to Stratum V2 documentation - Job Distribution.

Build Options

This crate can be built with the following features:

  • with_serde: Enables support for serialization and deserialization using Serde.

Note that this feature flag is only used for the Message Generator, and deprecated for any other kind of usage. It will likely be fully deprecated in the future.

Usage

To include this crate in your project, run:

$ cargo add job_declaration_sv2