1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-04-26 20:05:22 +02:00

upgrade all Cargo.toml files to edition=2021

The MSRV is already 1.60, so this doesn't affect much. The only impact
to other code is that we no longer need to explicitly import TryInto.
This commit is contained in:
Jack O'Connor 2023-03-25 16:02:01 -07:00
parent 64747d48ff
commit a9750c7fec
10 changed files with 7 additions and 10 deletions

View File

@ -7,7 +7,7 @@ repository = "https://github.com/BLAKE3-team/BLAKE3"
license = "CC0-1.0 OR Apache-2.0"
documentation = "https://docs.rs/blake3"
readme = "README.md"
edition = "2018"
edition = "2021"
[features]
default = ["std"]

View File

@ -6,7 +6,7 @@ description = "a command line implementation of the BLAKE3 hash function"
repository = "https://github.com/BLAKE3-team/BLAKE3"
license = "CC0-1.0 OR Apache-2.0"
readme = "README.md"
edition = "2018"
edition = "2021"
[features]
neon = ["blake3/neon"]

View File

@ -1,7 +1,6 @@
use anyhow::{bail, ensure, Result};
use clap::Parser;
use std::cmp;
use std::convert::TryInto;
use std::fs::File;
use std::io;
use std::io::prelude::*;

View File

@ -7,7 +7,7 @@
name = "blake3_c_rust_bindings"
version = "0.0.0"
description = "TESTING ONLY Rust bindings for the BLAKE3 C implementation"
edition = "2018"
edition = "2021"
[features]
# By default the x86-64 build uses assembly implementations. This feature makes

View File

@ -1,7 +1,7 @@
[package]
name = "reference_impl"
version = "0.0.0"
edition = "2018"
edition = "2021"
[lib]
name = "reference_impl"

View File

@ -18,7 +18,6 @@
//! ```
use core::cmp::min;
use core::convert::TryInto;
const OUT_LEN: usize = 32;
const KEY_LEN: usize = 32;

View File

@ -1,7 +1,7 @@
[package]
name = "test_vectors"
version = "0.0.0"
edition = "2018"
edition = "2021"
[features]
neon = ["blake3/neon"]

View File

@ -142,7 +142,6 @@ pub fn parse_test_cases() -> Cases {
#[cfg(test)]
mod tests {
use super::*;
use std::convert::TryInto;
fn test_reference_impl_all_at_once(
key: &[u8; blake3::KEY_LEN],

View File

@ -1,7 +1,7 @@
[package]
name = "compiler_version"
version = "0.0.0"
edition = "2018"
edition = "2021"
[build-dependencies]
cc = "1.0.50"

View File

@ -1,6 +1,6 @@
[package]
name = "instruction_set_support"
version = "0.0.0"
edition = "2018"
edition = "2021"
[dependencies]