summaryrefslogtreecommitdiffstats
path: root/src/launcher/jre.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher/jre.rs')
-rw-r--r--src/launcher/jre.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/launcher/jre.rs b/src/launcher/jre.rs
index a3cbb27..0b92c20 100644
--- a/src/launcher/jre.rs
+++ b/src/launcher/jre.rs
@@ -1,4 +1,3 @@
-use std::collections::HashSet;
use std::error::Error;
use std::fmt::{Debug, Display, Formatter};
use std::path::{Component, Path, PathBuf};
@@ -7,8 +6,6 @@ use futures::{stream, StreamExt, TryStreamExt};
use log::{debug, info, warn};
use reqwest::Client;
use tokio::{fs, io, io::ErrorKind};
-use tokio::fs::File;
-use tokio::io::AsyncWriteExt;
mod arch;
mod manifest;
@@ -21,7 +18,7 @@ use crate::launcher::download::MultiDownloader;
use crate::launcher::jre::download::{LzmaDownloadError, LzmaDownloadJob};
use crate::launcher::jre::manifest::JavaRuntimeFile;
use crate::util;
-use crate::util::{EnsureFileError, FileVerifyError, IntegrityError};
+use crate::util::{EnsureFileError, IntegrityError};
use crate::version::DownloadInfo;
use super::constants;