matrix-sdk: Update for the latest backoff changes
This commit is contained in:
parent
2e2d9b33a4
commit
19e9884963
2 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,7 @@ default_features = false
|
|||
[dependencies.backoff]
|
||||
git = "https://github.com/ihrwein/backoff"
|
||||
features = ["tokio"]
|
||||
rev = "fa3fb91431729ce871d29c62b93425b8aec740f4"
|
||||
|
||||
[dependencies.tracing-futures]
|
||||
version = "0.2.4"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
use std::{convert::TryFrom, fmt::Debug, sync::Arc};
|
||||
|
||||
#[cfg(not(test))]
|
||||
use backoff::{tokio::retry, Error as RetryError, ExponentialBackoff};
|
||||
use backoff::{future::retry, Error as RetryError, ExponentialBackoff};
|
||||
#[cfg(not(test))]
|
||||
use http::StatusCode;
|
||||
use http::{HeaderValue, Method as HttpMethod, Response as HttpResponse};
|
||||
|
|
Loading…
Reference in a new issue