From e293f486b97b2226fa22c5299ce5065b6fa7a5c1 Mon Sep 17 00:00:00 2001 From: David Blajda Date: Thu, 27 Dec 2018 22:32:34 +0000 Subject: Bump cargo version --- Cargo.toml | 2 +- src/client.rs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4ba5dbd..9a7902a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "twitch_api" -version = "0.0.30" +version = "0.0.31" authors = ["David Blajda "] edition = "2018" diff --git a/src/client.rs b/src/client.rs index 8f93e1e..3371670 100644 --- a/src/client.rs +++ b/src/client.rs @@ -657,7 +657,6 @@ impl Waiter for AuthWaiter { .auth() .client_credentials(secret) .map(move |credentials| { - println!("{:?}", credentials); if let ClientType::Auth(inner) = client.inner.as_ref() { let mut auth = inner.auth_state.lock().unwrap(); auth.state = AuthState::Auth; @@ -677,7 +676,6 @@ impl Waiter for RatelimitWaiter { fn blocked(&self) -> bool { let limits = self.limit.inner.lock().unwrap(); - println!("{}, {}, {}", limits.limit, limits.remaining, limits.inflight); limits.remaining - limits.inflight <= 0 } @@ -884,7 +882,6 @@ impl Future for ApiRequest { err }) .map(move |mut response| { - println!("{:?}", response); if let Some(key) = key_ok { if let Some(limits) = client_ok.ratelimit(key) { let mut mut_limits = limits.inner.lock().unwrap(); -- cgit v1.2.3