- 1.39 of higher version of Rust compiler is required
- required version of
futures
is increased to0.3
- required version of Rusoto is increased to
0.42
- required version of
tokio
is increased to0.2
- Compatible with stable Rust, and async-await syntax
- 1.36 or higher version of Rust compiler is required.
std-future
feature is removed, becausecore::future
always will be available.- Definition of
Response
has changed. Now it is the same asfutures_core::TryFuture
. Moreover,task
and some modules are removed that was related to compatibiliy with futures 0.1. Request::send
receivesPin<&mut Self>
instead of&self
.- Implementation of futures 0.1 Stream for Paginator is removed.
- required version of
futures-preview
is increased to0.3.0-alpha.17
. - required version of Rusoto is increased to
0.40
.
- Rewritten to be depends on
core::future
and futures 0.3 by default. - Compatible with
#[no_std]
. - Paginator will implement FusedStream, mainly to be used easily with
select!
macro of futures 0.3. - Companion packages for Rusoto, including
adventure-rusoto-ecs
, will offer the features likenative-tls
orrustls
.
retry::ExponentialBackoff
is replaced to a wrapper type which implementsClone
, instead of reexporting frombackoff
crate.- A type parameter of
PagedRequest
is removed, to propagate this property through aOneshotRequest<C>
combinator. - Adapter types for futures 0.1 like
ResponseFuture
are renamed likeFuture01Response
. - Adapter types for
std::future
likeResponseStdFuture
are renamed likeFutureResponse
.
- The result of
RetriableRequest::retry
will implementClone
andRequest<C>
if the source request is implementingClone
. This makes applying other combinators on the request much easier. - Forward implementations of request traits like
PagedRequest
are added for request combinators, if their original request implements the same trait.
Request
is splitted intoBaseRequest
andOneshotRequest
, andRequest::into_response
is also renamed toOneshotRequest::send_once
.RepeatableRequest
is renamed toRequest
, and extendsBaseRequest
insteadOneshotRequest
. Therefore, both ofRequest
andOneshotRequest
will have the same base trait.- Object safety of
Request
andResponse
is broken, as a consequence of addition of utility methods. std-futures
feature is renamed tostd-future
.
OneshotRequest::repeat
is added to transform a oneshot request implementingClone
to be repeatable.RetriableRequest
is added to provide retrial behavior with a customizable strategy, like exponential backoff.PagedRequest::paginate
is added.Response::into_future
is added to convert into futures 0.1Future
, orstd::future::Future
.- Implementation of
BaseRequest
,Response
, and related traits for pointer types are added.
- If both of
futures01
andstd-future
features are enabled,&Waker
inResponse::poll
will be not ignored even if it is polled from futures 0.1 or goes into them. It will prevent a potential freezing bug. Response::Waker
associated type is removed.
- Initial release.