• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Version 4.5.0
2
3- Add a `portable-atomic` feature that enables the usage of fallback primitives for CPUs without atomics. (#58)
4
5# Version 4.4.1
6
7- Clarify safety documentation for `spawn_unchecked`. (#49)
8
9# Version 4.4.0
10
11- Ensure that the allocation doesn't exceed `isize::MAX` (#32)
12- Add `FallibleTask::is_finished()` (#34)
13- Add a metadata generic parameter to tasks (#33)
14- Add panic propagation to tasks (#37)
15- Add a way to tell if the task was woken while running from the schedule function (#42)
16
17# Version 4.3.0
18
19- Bump MSRV to Rust 1.47. (#30)
20- Evaluate the layouts for the tasks at compile time. (#30)
21- Add layout_info field to TaskVTable so that debuggers can decode raw tasks. (#29)
22
23# Version 4.2.0
24
25- Add `Task::is_finished`. (#19)
26
27# Version 4.1.0
28
29- Add `FallibleTask`. (#21)
30
31# Version 4.0.3
32
33- Document the return value of `Runnable::run()` better.
34
35# Version 4.0.2
36
37- Nits in the docs.
38
39# Version 4.0.1
40
41- Nits in the docs.
42
43# Version 4.0.0
44
45- Rename `Task` to `Runnable`.
46- Rename `JoinHandle` to `Task`.
47- Cancel `Task` on drop.
48- Add `Task::detach()` and `Task::cancel()`.
49- Add `spawn_unchecked()`.
50
51# Version 3.0.0
52
53- Use `ThreadId` in `spawn_local` because OS-provided IDs can get recycled.
54- Add `std` feature to `Cargo.toml`.
55
56# Version 2.1.1
57
58- Allocate large futures on the heap.
59
60# Version 2.1.0
61
62- `JoinHandle` now only evaluates after the task's future has been dropped.
63
64# Version 2.0.0
65
66- Return `true` in `Task::run()`.
67
68# Version 1.3.1
69
70- Make `spawn_local` available only on unix and windows.
71
72# Version 1.3.0
73
74- Add `waker_fn`.
75
76# Version 1.2.1
77
78- Add the `no-std` category to the package.
79
80# Version 1.2.0
81
82- The crate is now marked with `#![no_std]`.
83- Add `Task::waker` and `JoinHandle::waker`.
84- Add `Task::into_raw` and `Task::from_raw`.
85
86# Version 1.1.1
87
88- Fix a use-after-free bug where the schedule function is dropped while running.
89
90# Version 1.1.0
91
92- If a task is dropped or canceled outside the `run` method, it gets re-scheduled.
93- Add `spawn_local` constructor.
94
95# Version 1.0.0
96
97- Initial release
98