Version 4.5.0
- Add a portable-atomicfeature that enables the usage of fallback primitives for CPUs without atomics. (#58)
Version 4.4.1
- Clarify safety documentation for spawn_unchecked. (#49)
Version 4.4.0
- Ensure that the allocation doesn't exceed isize::MAX(#32)
- Add FallibleTask::is_finished()(#34)
- Add a metadata generic parameter to tasks (#33)
- Add panic propagation to tasks (#37)
- Add a way to tell if the task was woken while running from the schedule function (#42)
Version 4.3.0
- Bump MSRV to Rust 1.47. (#30)
- Evaluate the layouts for the tasks at compile time. (#30)
- Add layout_info field to TaskVTable so that debuggers can decode raw tasks. (#29)
Version 4.2.0
- Add Task::is_finished. (#19)
Version 4.1.0
Version 4.0.3
- Document the return value of Runnable::run()better.
Version 4.0.2
Version 4.0.1
Version 4.0.0
- Rename TasktoRunnable.
- Rename JoinHandletoTask.
- Cancel Taskon drop.
- Add Task::detach()andTask::cancel().
- Add spawn_unchecked().
Version 3.0.0
- Use ThreadIdinspawn_localbecause OS-provided IDs can get recycled.
- Add stdfeature toCargo.toml.
Version 2.1.1
- Allocate large futures on the heap.
Version 2.1.0
- JoinHandlenow only evaluates after the task's future has been dropped.
Version 2.0.0
- Return trueinTask::run().
Version 1.3.1
- Make spawn_localavailable only on unix and windows.
Version 1.3.0
Version 1.2.1
- Add the no-stdcategory to the package.
Version 1.2.0
- The crate is now marked with #![no_std].
- Add Task::wakerandJoinHandle::waker.
- Add Task::into_rawandTask::from_raw.
Version 1.1.1
- Fix a use-after-free bug where the schedule function is dropped while running.
Version 1.1.0
- If a task is dropped or canceled outside the runmethod, it gets re-scheduled.
- Add spawn_localconstructor.
Version 1.0.0