docs: add workflow badge to README

This commit is contained in:
Magamedrasul Ibragimov 2022-10-19 15:18:34 +03:00
parent 990ecbd561
commit 37b6b8bf8c
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
<p align="center">
<img src="https://github.com/Rate-Limiting-Nullifier/pmtree/workflows/Build-Test-Fmt/badge.svg">
</p>
<h1 align="center">pmtree</h1>
<h3 align="center">Persistent Merkle Tree in Rust</h3>
@ -5,6 +9,7 @@
## How to use
```toml
[dependencies]
# add here
pmtree = { git = "https://github.com/Rate-Limiting-Nullifier/pmtree" }
```
@ -13,3 +18,8 @@ pmtree = { git = "https://github.com/Rate-Limiting-Nullifier/pmtree" }
git clone git@github.com:Rate-Limiting-Nullifier/pmtree.git && cd pmtree
cargo build --release
```
## Run tests
```bash
cargo test --release
```