summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fatcat-cli/Cargo.toml2
-rw-r--r--fatcat-cli/src/download.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/fatcat-cli/Cargo.toml b/fatcat-cli/Cargo.toml
index af64986..2fbb35a 100644
--- a/fatcat-cli/Cargo.toml
+++ b/fatcat-cli/Cargo.toml
@@ -39,7 +39,7 @@ chrono-humanize = "*"
tempfile = "3"
indicatif = "0.16"
url = "*"
-sha1 = { version = "*", features = ["std"] }
+sha1_smol = { version = "1", features = ["std"] }
crossbeam-channel = "0.5"
[package.metadata.deb]
diff --git a/fatcat-cli/src/download.rs b/fatcat-cli/src/download.rs
index 551d090..fce56de 100644
--- a/fatcat-cli/src/download.rs
+++ b/fatcat-cli/src/download.rs
@@ -5,7 +5,7 @@ use fatcat_openapi::models::{FileEntity, ReleaseEntity};
use indicatif::{ProgressBar, ProgressStyle};
use log::{error, info};
use reqwest::header::USER_AGENT;
-use sha1::Sha1;
+use sha1_smol::Sha1;
use std::fmt;
use std::fs::File;
use std::io::{self, BufRead};