Crates.io | either-future |
lib.rs | either-future |
version | 1.1.0 |
source | src |
created_at | 2019-10-06 18:14:39.6499 |
updated_at | 2021-10-18 12:07:56.717409 |
description | An implementation of Future for Either |
homepage | https://github.com/FSMaxB/rust-either-future |
repository | https://github.com/FSMaxB/rust-either-future |
max_upload_size | |
id | 170420 |
size | 15,978 |
EitherFuture
is a no_std
implementation of Future<Output = Either<Left, Right>
for Either<LeftFuture, RightFuture>
.
It is both implemented for futures::Future
(0.1) and core::future::Future
.
The minimum supported rust version (MSRV) is 1.15.0 if default features are disabled and only futures01
is enabled.
See the different features for their respecitive MSRV.
futures01
: Implement futures::Future
with version 0.1 of the futures
library
futures
0.1
)futures03
: Implement Conversions to and from futures_util::future::Either
futures_util
0.3
)std_future
: Implement core::future::Future
, enabled by default
core::future::Future
was introduced to the standard library)