Skip to content

Commit

Permalink
Add README.md ..
Browse files Browse the repository at this point in the history
Use the template README used across the different Stratum V2 protocol
crates to `common_messages_sv2` crate.
  • Loading branch information
jbesraa committed Nov 21, 2024
1 parent 5041d1d commit 2dd5ca0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions protocols/v2/subprotocols/common-messages/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# common_messages_sv2

[![crates.io](https://img.shields.io/crates/v/common_messages_sv2.svg)](https://crates.io/crates/common_messages_sv2)
[![docs.rs](https://docs.rs/common_messages_sv2/badge.svg)](https://docs.rs/common_messages_sv2)
[![rustc+](https://img.shields.io/badge/rustc-1.75.0%2B-lightgrey.svg)](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html)
[![license](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg)](https://github.com/stratum-mining/stratum/blob/main/LICENSE.md)
[![codecov](https://codecov.io/gh/stratum-mining/stratum/branch/main/graph/badge.svg)](https://app.codecov.io/gh/stratum-mining/stratum/tree/main/protocols%2Fv2%2Fcommon_messages_sv2)

`common_messages_sv2` is a Rust crate that implements a set of messages shared across all Stratum V2 subprotocols.

## Build Options

This crate can be built with the following features:

- `std`: Enables support for standard library features.
- `serde`: Enables support for serialization and deserialization using Serde.
- `quickcheck`: Enables support for property-based testing using QuickCheck.

## Usage

To include this crate in your project, run:

```bash
$ cargo add common_messages_sv2
```
j

0 comments on commit 2dd5ca0

Please sign in to comment.