clean up some unused code (#327)
This commit is contained in:
parent
0c256a0e05
commit
c809d1e725
2 changed files with 1 additions and 8 deletions
|
@ -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::<Url>().unwrap();
|
||||
static ref STEAM_API_BASE: String = "https://api.steampowered.com".into();
|
||||
}
|
||||
|
||||
|
|
|
@ -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::<Url>().unwrap();
|
||||
static ref STEAM_API_BASE: String = "https://api.steampowered.com".into();
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct WebApiTransport {
|
||||
client: reqwest::blocking::Client,
|
||||
|
|
Loading…
Reference in a new issue