Browse Source

Merge branch 'master' into fix/377_g2_generators_comments

master
Pratyush Mishra 5 years ago
committed by GitHub
parent
commit
be80fdc82f
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      README.md

+ 5
- 5
README.md

@ -39,16 +39,16 @@ In addition, there is a [`bench-utils`](bench-utils) crate which contains infra
## Build guide ## Build guide
The library relies on the `nightly` toolchain of the Rust compiler (only for the relatively well-tested `const_fn` feature). To install the latest Rust nightly, first install `rustup` by following the instructions [here](https://rustup.rs/), or via your platform's package manager. Once `rustup` is installed, install the latest nightly by invoking:
The library compiles on the `stable` toolchain of the Rust compiler. To install the latest version of Rust, first install `rustup` by following the instructions [here](https://rustup.rs/), or via your platform's package manager. Once `rustup` is installed, install the Rust toolchain by invoking:
```bash ```bash
rustup install nightly
rustup install stable
``` ```
After that, use `cargo`, the standard Rust build tool, to build the library: After that, use `cargo`, the standard Rust build tool, to build the library:
```bash ```bash
git clone https://github.com/scipr-lab/zexe.git git clone https://github.com/scipr-lab/zexe.git
cd zexe/dpc cd zexe/dpc
cargo +nightly build --release
cargo build --release
``` ```
This library comes with unit tests for each of the provided crates. Run the tests with: This library comes with unit tests for each of the provided crates. Run the tests with:
@ -61,9 +61,9 @@ Lastly, this library comes with benchmarks for the following crates:
- [`algebra`](algebra) - [`algebra`](algebra)
- [`dpc`](dpc) - [`dpc`](dpc)
To perform the benchmarks, run the following command:
These benchmarks require the nightly Rust toolchain; to install this, run `rustup install nightly`. Then, to run benchmarks, run the following command:
```bash ```bash
cargo bench
cargo +nightly bench
``` ```
## License ## License

Loading…
Cancel
Save