From 4b0ce7d7c723bc542dd71898d9e1facedb4f4187 Mon Sep 17 00:00:00 2001 From: sangge-redmi <2251250136@qq.com> Date: Mon, 15 Jan 2024 05:08:30 +0800 Subject: [PATCH] fix: remove unused dependents --- Cargo.toml | 1 - src/main.rs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a7fee3a..8a35d35 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,3 @@ authors = ["Smart SangGe "] clap = "2.33.2" indicatif = "0.15" console = "0.14" -reqwest = { version = "0.11", features = ["blocking"] } \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index bb49fd9..373205a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,16 +1,12 @@ extern crate clap; -extern crate reqwest; extern crate indicatif; extern crate console; use clap::{Arg, App}; use indicatif::{ProgressBar, ProgressStyle, HumanBytes}; use console::style; -use std::io::Read; -use reqwest::header::{CONTENT_LENGTH, CONTENT_TYPE}; use std::fs::File; use std::io::{self, Write}; -use reqwest::blocking::Client;