Skip to content

Commit

Permalink
chore: MSRV is now 1.60 due to csv v1.2.0 (filecoin-project#296)
Browse files Browse the repository at this point in the history
The minumum supported Rust version is increased from 1.57 to 1.60
due to `csv` v1.2.0.

Also fix newly introduced Clippy errors.

BREAKING CHANGE: Minimum supported Rust version is now 1.60
  • Loading branch information
vmx authored Feb 22, 2023
1 parent 42b3aa8 commit 57218d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repository = "https://github.com/filecoin-project/bellman"
version = "0.24.1"
readme = "README.md"
edition = "2021"
rust-version = "1.57.0"
rust-version = "1.60.0"

[dependencies]
blake2s_simd = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.57.0
1.60.0
4 changes: 2 additions & 2 deletions tests/groth16_aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ fn test_groth16_bench_inner(version: AggregateVersion) {
println!("\t-Batch per 10 packets verification...");
let batches: Vec<_> = proofs
.iter()
.cloned()
.take(i)
.zip(statements.iter().cloned().take(i))
.cloned()
.zip(statements.iter().take(i).cloned())
.chunks(10)
.into_iter()
.map(|s| s.collect())
Expand Down

0 comments on commit 57218d3

Please sign in to comment.