summaryrefslogtreecommitdiffstats
path: root/src/launcher/jre
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-30 23:39:40 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-30 23:39:40 -0600
commit58b85cd77338bfc5a35fa39e10598cadb27eee32 (patch)
tree504f2ce93ff4ef3129b757018a3d9b47f257328b /src/launcher/jre
parentremove dead oauth code (diff)
Remove some unused imports but not all of them
Diffstat (limited to 'src/launcher/jre')
-rw-r--r--src/launcher/jre/download.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/launcher/jre/download.rs b/src/launcher/jre/download.rs
index c24b82f..ddf1ff6 100644
--- a/src/launcher/jre/download.rs
+++ b/src/launcher/jre/download.rs
@@ -1,14 +1,11 @@
use std::error::Error;
use std::fmt::{Debug, Display, Formatter};
-use std::fs::Permissions;
use std::io::Write;
-use std::ops::AddAssign;
-use std::path::{Path, PathBuf};
+use std::path::{PathBuf};
use log::debug;
use lzma_rs::decompress;
-use reqwest::{Client, IntoUrl, RequestBuilder};
+use reqwest::{Client, RequestBuilder};
use sha1_smol::{Digest, Sha1};
-use tokio::fs;
use tokio::io::AsyncWriteExt;
use tokio::fs::File;
use crate::launcher::download::Download;