Skip to content

Commit f91ff0e

Browse files
committed
docs: update README to improve section headings and organization for Semaphore usage
1 parent e1d68b7 commit f91ff0e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ Add this to your `Cargo.toml`:
7878
semaphore-rs = "0.1"
7979
```
8080

81-
### Semaphore Identity
81+
### 📜 Usage
82+
83+
#### Semaphore Identity
8284

8385
- Generate a semaphore identity from a string
8486
```rust
@@ -94,7 +96,7 @@ semaphore-rs = "0.1"
9496
identity.private_key()
9597
```
9698

97-
### Semaphore Group
99+
#### Semaphore Group
98100

99101
- Generate a group member from an identity
100102

@@ -119,7 +121,7 @@ semaphore-rs = "0.1"
119121
let root = group.root();
120122
```
121123

122-
### Semaphore Proof
124+
#### Semaphore Proof
123125

124126
- Generate a semaphore proof
125127

@@ -145,7 +147,7 @@ semaphore-rs = "0.1"
145147
let valid = Proof::verify_proof(proof);
146148
```
147149

148-
### Serde
150+
#### Serde
149151

150152
- Please enable the feature in the `Cargo.toml`
151153

0 commit comments

Comments
 (0)