dalek-cryptography / bulletproofs

A pure-Rust implementation of Bulletproofs using Ristretto.
MIT License
1.02k stars 216 forks source link

`Cargo test` Error #376

Open bo-hub opened 4 months ago

bo-hub commented 4 months ago

I am trying to run this projects. And when I ran cargo test, it returns this error below.

bob@bobvm:~/code/rust_demo/rust_lib_zk/bulletproofs$ cargo test Updating crates.io index error: failed to select a version for the requirement regex = "= 1.10.3" candidate versions found which didn't match: 1.8.4, 1.8.3, 1.8.2, ... location searched: crates.io index required by package criterion v0.3.6 ... which is depended on by bulletproofs v2.0.0 (/home/bob/code/rust_demo/rust_lib_zk/bulletproofs)

And my rust toolchain list is:

stable-x86_64-unknown-linux-gnu nightly-2019-07-31-x86_64-unknown-linux-gnu (override) nightly-x86_64-unknown-linux-gnu (default) 1.56.0-x86_64-unknown-linux-gnu

How to fix this?

Thanks inadvance.