Skip to content

Commit e9763d4

Browse files
committed
chore: Remove log dependency
Only used for a single log, and that one is not really useful... Redundant dependency
1 parent 36570fd commit e9763d4

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ serde = "1.0.79"
1919
serde_derive = "1.0.79"
2020
serde_json = "1.0.32"
2121
url = "2.1.0"
22-
log = "0.4.5"
2322
futures = "0.3.4"
2423
tokio = { version = "1.0.1", default-features = false, features = ["sync", "time"] }
2524
serde_path_to_error = "0.1.8"

src/sync_client.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use super::*;
22
use std::iter::Extend;
33

4-
use log::trace;
54
use reqwest::{blocking::Client as HttpClient, header, StatusCode, Url};
65
use serde::de::DeserializeOwned;
76

@@ -59,8 +58,6 @@ impl SyncClient {
5958
}
6059

6160
fn get<T: DeserializeOwned>(&self, url: Url) -> Result<T, Error> {
62-
trace!("GET {}", url);
63-
6461
let mut lock = self.last_request_time.lock().unwrap();
6562
if let Some(last_request_time) = lock.take() {
6663
let now = std::time::Instant::now();

0 commit comments

Comments
 (0)