Skip to content

v1.6.0

Compare
Choose a tag to compare
@dignifiedquire dignifiedquire released this 22 May 22:05
6d2a43e

Added

  • Added task::spawn_local. (#757)
  • Added out of the box support for wasm. (#757)
  • Added JoinHandle::cancel (#757)
  • Added sync::Condvar (#369)
  • Added sync::Sender::try_send and sync::Receiver::try_recv (#585)
  • Added no_std support for task, future and stream (#680)
  • Added an environment variable to configure the thread pool size of the runtime. (#774)
  • Implement Clone for UnixStream (#772)

Changed

  • Switched underlying runtime to smol. (#757)
  • Switched implementation of sync::Barrier to use sync::Condvar like std does. (#581)
  • For wasm, switched underlying Timer implementation to futures-timer. (#776)

Fixed

  • Use smol::block_on to handle drop of File, avoiding nested executor panic. (#768)
  • Allow compilation on 32 bit targets, by using AtomicUsize for TaskId. (#756)