diff options
author | David Blajda <blajda@hotmail.com> | 2018-12-27 22:32:34 +0000 |
---|---|---|
committer | David Blajda <blajda@hotmail.com> | 2018-12-27 22:32:34 +0000 |
commit | e293f486b97b2226fa22c5299ce5065b6fa7a5c1 (patch) | |
tree | 3b33fc093482880c85ca459ef3c0b8848bc741d7 | |
parent | 767d4bd2e108b5e735e2fa6786c83af394959f6c (diff) |
Bump cargo version
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/client.rs | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -1,6 +1,6 @@ [package] name = "twitch_api" -version = "0.0.30" +version = "0.0.31" authors = ["David Blajda <blajda@hotmail.com>"] 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<T: DeserializeOwned + 'static + Send> Future for ApiRequest<T> { 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(); |