Make doctest pass

This commit is contained in:
Remco Bloemen 2022-03-10 15:32:59 -08:00
parent f192620c4b
commit 974d0b43bd
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ Rust support library for Semaphore
## Example
```rust
use semaphore::{
identity::Identity, hash::Hash, poseidon_tree::PoseidonTree,
protocol::* };
use num_bigint::BigInt;
// generate identity
let id = Identity::new(b"hello");