diff --git a/steamguard/src/steamapi.rs b/steamguard/src/steamapi.rs index 4d8198a..b33f0a8 100644 --- a/steamguard/src/steamapi.rs +++ b/steamguard/src/steamapi.rs @@ -4,7 +4,6 @@ pub mod twofactor; use crate::transport::Transport; use crate::{protobufs::service_twofactor::CTwoFactor_Time_Response, token::Jwt}; -use reqwest::Url; use serde::Deserialize; pub use self::authentication::AuthenticationClient; @@ -12,7 +11,6 @@ pub use self::phone::PhoneClient; pub use self::twofactor::TwoFactorClient; lazy_static! { - static ref STEAM_COOKIE_URL: Url = "https://steamcommunity.com".parse::().unwrap(); static ref STEAM_API_BASE: String = "https://api.steampowered.com".into(); } diff --git a/steamguard/src/transport/webapi.rs b/steamguard/src/transport/webapi.rs index 63725db..97ce60a 100644 --- a/steamguard/src/transport/webapi.rs +++ b/steamguard/src/transport/webapi.rs @@ -1,15 +1,10 @@ use log::{debug, trace}; use protobuf::MessageFull; -use reqwest::{blocking::multipart::Form, Url}; +use reqwest::blocking::multipart::Form; use super::{Transport, TransportError}; use crate::steamapi::{ApiRequest, ApiResponse, BuildableRequest, EResult}; -lazy_static! { - static ref STEAM_COOKIE_URL: Url = "https://steamcommunity.com".parse::().unwrap(); - static ref STEAM_API_BASE: String = "https://api.steampowered.com".into(); -} - #[derive(Debug, Clone)] pub struct WebApiTransport { client: reqwest::blocking::Client,