From 7c58e28d5651a976cd91bd2fd62a45ed131dad66 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Sat, 31 Jul 2021 11:08:41 -0400 Subject: [PATCH] clean up imports --- src/accountlinker.rs | 4 ++-- src/main.rs | 13 +++---------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/accountlinker.rs b/src/accountlinker.rs index 12faa1f..51f6fa0 100644 --- a/src/accountlinker.rs +++ b/src/accountlinker.rs @@ -1,6 +1,6 @@ use std::collections::HashMap; -use reqwest::{Url, cookie::{CookieStore}, header::COOKIE, header::{SET_COOKIE, USER_AGENT}}; -use serde::{Serialize, Deserialize}; +use reqwest::{Url, cookie::{CookieStore}, header::COOKIE}; +use serde::Deserialize; use serde_json::Value; use steamguard_cli::{SteamGuardAccount, steamapi::Session}; use log::*; diff --git a/src/main.rs b/src/main.rs index aaa50c1..c75d8bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,18 +1,11 @@ extern crate rpassword; -use borrow::BorrowMut; -use collections::HashSet; -use io::{Write, stdout}; -use steamapi::Session; use steamguard_cli::*; -use termion::{color::Color, raw::IntoRawMode, screen::AlternateScreen}; -use ::std::*; -use text_io::read; -use std::{convert::TryInto, io::stdin, path::Path, sync::Arc}; +use std::collections::HashSet; +use std::{io::{Write, stdout, stdin}, path::Path}; use clap::{App, Arg, crate_version}; use log::*; use regex::Regex; -use termion::event::{Key, Event}; -use termion::input::{TermRead}; +use termion::{raw::IntoRawMode, screen::AlternateScreen, event::{Key, Event}, input::{TermRead}}; #[macro_use] extern crate lazy_static;