10 releases (5 stable)

new 3.0.0 Mar 28, 2025
2.0.0 Dec 27, 2024
1.0.2 Aug 9, 2024
1.0.0 Mar 22, 2024
0.1.0 Jun 14, 2021

#346 in Magic Beans

Download history 81/week @ 2024-12-08 34/week @ 2024-12-15 142/week @ 2024-12-22 26/week @ 2024-12-29 75/week @ 2025-01-05 29/week @ 2025-01-12 30/week @ 2025-01-19 725/week @ 2025-01-26 817/week @ 2025-02-02 1031/week @ 2025-02-09 1577/week @ 2025-02-16 1647/week @ 2025-02-23 1688/week @ 2025-03-02 1226/week @ 2025-03-09 600/week @ 2025-03-16 219/week @ 2025-03-23

3,837 downloads per month
Used in 8 crates (2 directly)

MIT/Apache

71KB
1K SLoC

template_distribution_sv2

crates.io docs.rs rustc+ license codecov

template_distribution_sv2 is a Rust #![no_std] crate that implements a set of messages defined in the Template Distribution Protocol of Stratum V2. The Template Distribution protocol can be used to receive updates of the block templates to use in mining.

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:

  • prop_test: Enables support for property testing.

Usage

To include this crate in your project, run:

$ cargo add template_distribution_sv2

Dependencies

~97–530KB
~12K SLoC