From 58b85cd77338bfc5a35fa39e10598cadb27eee32 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 30 Jan 2025 23:39:40 -0600 Subject: Remove some unused imports but not all of them --- src/auth/msa.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/auth/msa.rs') diff --git a/src/auth/msa.rs b/src/auth/msa.rs index 6c90790..47e088b 100644 --- a/src/auth/msa.rs +++ b/src/auth/msa.rs @@ -1,16 +1,13 @@ use std::borrow::Cow; use std::collections::HashMap; -use std::ops::Add; -use std::time::{Duration, SystemTime}; -use chrono::{DateTime, TimeDelta, Utc}; +use chrono::{DateTime, Utc}; use log::debug; use oauth2::AccessToken; -use reqwest::{IntoUrl, Method, RequestBuilder}; +use reqwest::{Method}; use serde::{Deserialize, Serialize}; use uuid::Uuid; use crate::auth::AuthError; use crate::auth::types::Token; -use crate::util::USER_AGENT; const XBOX_LIVE_AUTH: &str = "https://user.auth.xboxlive.com/user/authenticate"; const XBOX_LIVE_XSTS: &str = "https://xsts.auth.xboxlive.com/xsts/authorize"; -- cgit v1.2.3-70-g09d2