futures-rs v0.1.15 Release Notes

Release Date: 2017-08-24 // over 6 years ago
    • ๐Ÿ‘Œ Improve performance of BiLock methods
    • ๐Ÿ‘ฏ Implement Clone for FutureResult
    • Forward Stream trait through SinkMapErr
    • Add stream::futures_ordered next to futures_unordered
    • Reimplement Stream::buffered on top of stream::futures_ordered (much more efficient at scale).
    • โž• Add a with_notify function for abstractions which previously required UnparkEvent.
    • Add get_ref/get_mut/into_inner functions for stream take/skip methods
    • โž• Add a Clone implementation for SharedItem and SharedError
    • โž• Add a mpsc::spawn function to spawn a Stream into an Executor
    • โž• Add a reunite function for BiLock and the split stream/sink types to rejoin two halves and reclaim the original item.
    • ๐Ÿ“Š Add stream::poll_fn to behave similarly to future::poll_fn
    • Add Sink::with_flat_map like Iterator::flat_map
    • โฌ†๏ธ Bump the minimum Rust version to 1.13.0
    • ๐Ÿ”ฆ Expose AtomicTask in the public API for managing synchronization around task notifications.
    • ๐Ÿ”€ Unify the Canceled type of the sync and unsync modules.
    • ๐Ÿ—„ Deprecate the boxed methods. These methods have caused more confusion than they've solved historically, so it's recommended to use a local extension trait or a local helper instead of the trait-based methods.
    • ๐Ÿ”€ Deprecate the Stream::merge method as it's less ergonomic than select.
    • โž• Add oneshot::Sender::is_canceled to test if a oneshot is canceled off a task.
    • ๐Ÿ—„ Deprecates UnboundedSender::send in favor of a method named unbounded_send to avoid a conflict with Sink::send.
    • ๐Ÿ—„ Deprecate the stream::iter function in favor of an stream::iter_ok adaptor to avoid the need to deal with Result manually.
    • โž• Add an inspect function to the Future and Stream traits along the lines of Iterator::inspect