| 1 |
# Version 4.3.0 |
| 2 |
|
| 3 |
- Bump MSRV to Rust 1.47. (#30) |
| 4 |
- Evaluate the layouts for the tasks at compile time. (#30) |
| 5 |
- Add layout_info field to TaskVTable so that debuggers can decode raw tasks. (#29) |
| 6 |
|
| 7 |
# Version 4.2.0 |
| 8 |
|
| 9 |
- Add `Task::is_finished`. (#19) |
| 10 |
|
| 11 |
# Version 4.1.0 |
| 12 |
|
| 13 |
- Add `FallibleTask`. (#21) |
| 14 |
|
| 15 |
# Version 4.0.3 |
| 16 |
|
| 17 |
- Document the return value of `Runnable::run()` better. |
| 18 |
|
| 19 |
# Version 4.0.2 |
| 20 |
|
| 21 |
- Nits in the docs. |
| 22 |
|
| 23 |
# Version 4.0.1 |
| 24 |
|
| 25 |
- Nits in the docs. |
| 26 |
|
| 27 |
# Version 4.0.0 |
| 28 |
|
| 29 |
- Rename `Task` to `Runnable`. |
| 30 |
- Rename `JoinHandle` to `Task`. |
| 31 |
- Cancel `Task` on drop. |
| 32 |
- Add `Task::detach()` and `Task::cancel()`. |
| 33 |
- Add `spawn_unchecked()`. |
| 34 |
|
| 35 |
# Version 3.0.0 |
| 36 |
|
| 37 |
- Use `ThreadId` in `spawn_local` because OS-provided IDs can get recycled. |
| 38 |
- Add `std` feature to `Cargo.toml`. |
| 39 |
|
| 40 |
# Version 2.1.1 |
| 41 |
|
| 42 |
- Allocate large futures on the heap. |
| 43 |
|
| 44 |
# Version 2.1.0 |
| 45 |
|
| 46 |
- `JoinHandle` now only evaluates after the task's future has been dropped. |
| 47 |
|
| 48 |
# Version 2.0.0 |
| 49 |
|
| 50 |
- Return `true` in `Task::run()`. |
| 51 |
|
| 52 |
# Version 1.3.1 |
| 53 |
|
| 54 |
- Make `spawn_local` available only on unix and windows. |
| 55 |
|
| 56 |
# Version 1.3.0 |
| 57 |
|
| 58 |
- Add `waker_fn`. |
| 59 |
|
| 60 |
# Version 1.2.1 |
| 61 |
|
| 62 |
- Add the `no-std` category to the package. |
| 63 |
|
| 64 |
# Version 1.2.0 |
| 65 |
|
| 66 |
- The crate is now marked with `#![no_std]`. |
| 67 |
- Add `Task::waker` and `JoinHandle::waker`. |
| 68 |
- Add `Task::into_raw` and `Task::from_raw`. |
| 69 |
|
| 70 |
# Version 1.1.1 |
| 71 |
|
| 72 |
- Fix a use-after-free bug where the schedule function is dropped while running. |
| 73 |
|
| 74 |
# Version 1.1.0 |
| 75 |
|
| 76 |
- If a task is dropped or canceled outside the `run` method, it gets re-scheduled. |
| 77 |
- Add `spawn_local` constructor. |
| 78 |
|
| 79 |
# Version 1.0.0 |
| 80 |
|
| 81 |
- Initial release |