v0.99.12
This patch upgrades us to futures 0.3, support for async/await on Rust
Stable, performance improvements, and brand new module-level documentation.
Added
- Added
Future::flattenas "unstable". - Added
Future::raceas "unstable" (replacesfuture::select!). - Added
Future::try_raceas "unstable" (replacesfuture::try_select!). - Added
Stderr::lockas "unstable". - Added
Stdin::lockas "unstable". - Added
Stdout::lockas "unstable". - Added
Stream::copiedas "unstable". - Added
Stream::eqas "unstable". - Added
Stream::max_by_keyas "unstable". - Added
Stream::minas "unstable". - Added
Stream::neas "unstable". - Added
Stream::positionas "unstable". - Added
StreamExtandFutureExtas enumerable in theprelude. - Added
TcpListenerandTcpStreamintegration tests. - Added
stream::from_iter. - Added
sync::WakerSetfor internal use. - Added an example to handle both
IP v4andIP v6connections. - Added the
defaultCargo feature. - Added the
attributesCargo feature. - Added the
stdCargo feature.
Changed
- Fixed a bug in the blocking threadpool where it didn't spawn more than one thread.
- Fixed a bug with
Stream::mergewhere sometimes it ended too soon. - Fixed a bug with our GitHub actions setup.
- Fixed an issue where our channels could spuriously deadlock.
- Refactored the
taskmodule. - Removed a deprecated GitHub action.
- Replaced
futures-previewwithfutures. - Replaced
lazy_staticwithonce_cell. - Replaced all uses of
VecDequeuein the examples withstream::from_iter. - Simplified
sync::RwLockusing the internalsync::WakerSettype. - Updated the
pathsubmodule documentation to match std. - Updated the mod-level documentation to match std.
Removed
- Removed
future::select!(replaced byFuture::race). - Removed
future::try_select!(replaced byFuture::try_race).