You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.2 KiB
1.2 KiB
Version 4.0.3
- Document the return value of
Runnable::run()
better.
Version 4.0.2
- Nits in the docs.
Version 4.0.1
- Nits in the docs.
Version 4.0.0
- Rename
Task
toRunnable
. - Rename
JoinHandle
toTask
. - Cancel
Task
on drop. - Add
Task::detach()
andTask::cancel()
. - Add
spawn_unchecked()
.
Version 3.0.0
- Use
ThreadId
inspawn_local
because OS-provided IDs can get recycled. - Add
std
feature toCargo.toml
.
Version 2.1.1
- Allocate large futures on the heap.
Version 2.1.0
JoinHandle
now only evaluates after the task's future has been dropped.
Version 2.0.0
- Return
true
inTask::run()
.
Version 1.3.1
- Make
spawn_local
available only on unix and windows.
Version 1.3.0
- Add
waker_fn
.
Version 1.2.1
- Add the
no-std
category to the package.
Version 1.2.0
- The crate is now marked with
#![no_std]
. - Add
Task::waker
andJoinHandle::waker
. - Add
Task::into_raw
andTask::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
run
method, it gets re-scheduled. - Add
spawn_local
constructor.
Version 1.0.0
- Initial release