aboutsummaryrefslogtreecommitdiff
path: root/b3sum
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2023-03-25 16:02:01 -0700
committerJack O'Connor <[email protected]>2023-03-25 16:36:37 -0700
commita9750c7fec924db6a20fc87fa90269cdecbe75bd (patch)
tree620b9ff7c74b3b2bdb2a9e543c12924a882cd60f /b3sum
parent64747d48ffe9d1fbf4b71e94cabeb8a211461081 (diff)
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.
Diffstat (limited to 'b3sum')
-rw-r--r--b3sum/Cargo.toml2
-rw-r--r--b3sum/src/main.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/b3sum/Cargo.toml b/b3sum/Cargo.toml
index a050fb2..1712503 100644
--- a/b3sum/Cargo.toml
+++ b/b3sum/Cargo.toml
@@ -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"]
diff --git a/b3sum/src/main.rs b/b3sum/src/main.rs
index 0af88bb..2b61a67 100644
--- a/b3sum/src/main.rs
+++ b/b3sum/src/main.rs
@@ -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::*;