Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fsmaxb/rust-either-future
An implementation of Future for Either<impl Future, impl Future>.
https://github.com/fsmaxb/rust-either-future
Last synced: about 2 months ago
JSON representation
An implementation of Future for Either<impl Future, impl Future>.
- Host: GitHub
- URL: https://github.com/fsmaxb/rust-either-future
- Owner: FSMaxB
- License: isc
- Created: 2019-10-06T12:17:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T07:07:10.000Z (8 months ago)
- Last Synced: 2024-10-14T17:22:55.613Z (2 months ago)
- Language: Rust
- Size: 35.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE.txt
Awesome Lists containing this project
README
either-future
=============`EitherFuture` is a `no_std` implementation of `Future` for `Either`.
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.## Features
* `futures01`: Implement `futures::Future` with version 0.1 of the `futures` library
* MSRV: 1.15.0 (MSRV of `futures` `0.1`)
* `futures03`: Implement Conversions to and from `futures_util::future::Either`
* MSRV: 1.41.0 (minimum supported version by `futures_util` `0.3`)
* `std_future`: Implement `core::future::Future`, enabled by default
* MSRV: 1.36.0 (where `core::future::Future` was introduced to the standard library)