diff options
Diffstat (limited to 'azalea-auth/src/auth.rs')
| -rwxr-xr-x | azalea-auth/src/auth.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index 667c9062..e70be27d 100755 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -1,18 +1,20 @@ //! Handle Minecraft (Xbox) authentication. -use crate::cache::{self, CachedAccount, ExpiringValue}; -use chrono::{DateTime, Utc}; -use serde::{Deserialize, Serialize}; -use serde_json::json; use std::{ collections::HashMap, path::PathBuf, time::{Instant, SystemTime, UNIX_EPOCH}, }; + +use chrono::{DateTime, Utc}; +use serde::{Deserialize, Serialize}; +use serde_json::json; use thiserror::Error; use tracing::{error, trace}; use uuid::Uuid; +use crate::cache::{self, CachedAccount, ExpiringValue}; + #[derive(Default)] pub struct AuthOpts<'a> { /// Whether we should check if the user actually owns the game. This will |
