Skip to content

Commit 8e7614d

Browse files
committed
v0.1.1
1 parent bc0e6fa commit 8e7614d

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Include the crate in your `Cargo.toml`:
1010

1111
```toml
1212
[dependencies]
13-
rust-rapidsnark = "0.1.0"
13+
rust-rapidsnark = "0.1"
1414

1515
[build-dependencies]
16-
rust-rapidsnark = "0.1.0"
16+
rust-rapidsnark = "0.1"
1717
```
1818

1919
It doesn't include the witness generation functions, you need to use one of the following crates to generate the witness:
@@ -37,8 +37,8 @@ Calculate the proof by using the `groth16_prover_zkey_file_wrapper` function.
3737
It will take a `wtns` bytes array like the output of [witnesscalc](https://github.com/0xPolygonID/witnesscalc) or [snarkjs](https://github.com/iden3/snarkjs).
3838

3939
```rust
40-
let zkey_path = "./test-vectors/multiplier2_final.zkey".to_string();
41-
let proof = rust_rapidsnark::groth16_prover_zkey_file_wrapper(&zkey_path, wtns_buffer).unwrap();
40+
let zkey_path = "./test-vectors/multiplier2_final.zkey";
41+
let proof = rust_rapidsnark::groth16_prover_zkey_file_wrapper(zkey_path, wtns_buffer).unwrap();
4242
```
4343

4444
### Verify the proof

crates/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust-rapidsnark"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/zkmopro/rust-rapidsnark"

crates/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Include the crate in your `Cargo.toml`:
1010

1111
```toml
1212
[dependencies]
13-
rust-rapidsnark = "0.1.0"
13+
rust-rapidsnark = "0.1"
1414

1515
[build-dependencies]
16-
rust-rapidsnark = "0.1.0"
16+
rust-rapidsnark = "0.1"
1717
```
1818

1919
It doesn't include the witness generation functions, you need to use one of the following crates to generate the witness:
@@ -37,8 +37,8 @@ Calculate the proof by using the `groth16_prover_zkey_file_wrapper` function.
3737
It will take a `wtns` bytes array like the output of [witnesscalc](https://github.com/0xPolygonID/witnesscalc) or [snarkjs](https://github.com/iden3/snarkjs).
3838

3939
```rust
40-
let zkey_path = "./test-vectors/multiplier2_final.zkey".to_string();
41-
let proof = rust_rapidsnark::groth16_prover_zkey_file_wrapper(&zkey_path, wtns_buffer).unwrap();
40+
let zkey_path = "./test-vectors/multiplier2_final.zkey";
41+
let proof = rust_rapidsnark::groth16_prover_zkey_file_wrapper(zkey_path, wtns_buffer).unwrap();
4242
```
4343

4444
### Verify the proof

0 commit comments

Comments
 (0)