Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
🎨 Fix the url dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Jun 29, 2023
1 parent 5ff6258 commit 1a41b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ tower = { version = "0.4.13", default-features = false }
tower-http = { version = "0.4.0", features = ["trace"] }
tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
url = "2.4.0"
uuid = { version = "1.3.4", features = ["v4"] }
walkdir = "2.3.3"

[dev-dependencies]
serde_json = "1.0.99"
url = "2.4.0"

[profile.release]
lto = "fat"
Expand Down
3 changes: 1 addition & 2 deletions src/wg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::{collections::HashMap, sync::Arc, time::Duration};
use reqwest::{Client, ClientBuilder};
use serde::Deserialize;
use tracing::instrument;
use url::Url;

use crate::prelude::*;

Expand Down Expand Up @@ -61,7 +60,7 @@ impl Wg {
pub async fn get_vehicles_stats(&self, account_id: u32) -> Result<Vec<VehicleStats>> {
let result = self
.client
.get(Url::parse_with_params(
.get(url::Url::parse_with_params(
"https://api.wotblitz.eu/wotb/tanks/stats/",
&[
("application_id", self.application_id.as_str()),
Expand Down

0 comments on commit 1a41b51

Please sign in to comment.