diff --git a/Cargo.toml b/Cargo.toml index 1dffe587..0bbfb81a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,9 +14,8 @@ license = "MIT/Apache-2.0" repository = "https://github.com/filecoin-project/bellman" version = "0.23.0" readme = "README.md" -edition = "2018" +edition = "2021" rust-version = "1.57.0" -resolver = "2" [dependencies] blake2s_simd = "1.0.0" diff --git a/src/lib.rs b/src/lib.rs index 3fcbafca..bb398145 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -158,8 +158,6 @@ pub const BELLMAN_VERSION: &str = env!("CARGO_PKG_VERSION"); #[cfg(feature = "groth16")] pub(crate) fn le_bytes_to_u64s(le_bytes: &[u8]) -> Vec { - use std::convert::TryInto; - assert_eq!( le_bytes.len() % 8, 0, diff --git a/verifier-bench/Cargo.toml b/verifier-bench/Cargo.toml index 6a24e1fc..39ffe98a 100644 --- a/verifier-bench/Cargo.toml +++ b/verifier-bench/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "verifier-bench" version = "0.0.1" -edition = "2018" +edition = "2021" publish = false [dependencies]