- Improve the panic message for when a task is polled after completion. (#73)
- Add
from_raw
andinto_raw
functions forRunnable
to ease passing it across an FFI boundary. (#65)
- Bump MSRV to 1.57. (#63)
- Task layout computation failures are now a compile-time error instead of a runtime abort. (#63)
- Add a
portable-atomic
feature that enables the usage of fallback primitives for CPUs without atomics. (#58)
- Clarify safety documentation for
spawn_unchecked
. (#49)
- 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)
- 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)
- Add
Task::is_finished
. (#19)
- Add
FallibleTask
. (#21)
- Document the return value of
Runnable::run()
better.
- Nits in the docs.
- Nits in the docs.
- Rename
Task
toRunnable
. - Rename
JoinHandle
toTask
. - Cancel
Task
on drop. - Add
Task::detach()
andTask::cancel()
. - Add
spawn_unchecked()
.
- Use
ThreadId
inspawn_local
because OS-provided IDs can get recycled. - Add
std
feature toCargo.toml
.
- Allocate large futures on the heap.
JoinHandle
now only evaluates after the task's future has been dropped.
- Return
true
inTask::run()
.
- Make
spawn_local
available only on unix and windows.
- Add
waker_fn
.
- Add the
no-std
category to the package.
- The crate is now marked with
#![no_std]
. - Add
Task::waker
andJoinHandle::waker
. - Add
Task::into_raw
andTask::from_raw
.
- Fix a use-after-free bug where the schedule function is dropped while running.
- If a task is dropped or canceled outside the
run
method, it gets re-scheduled. - Add
spawn_local
constructor.
- Initial release