async-task
Task abstraction for building executors
4.7.1
176M downloads/mo
#554 most downloaded on crates.io
smol-rs/async-task
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.3 years
Nearly every release is documented
notes for 24 of 25 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
25 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
25 releases · May 2019 to Apr 2024
2020
2021
2022
2023
2024
2025
2026
Releases
latest 25-
4.7.127 Apr 2024Release notes
Open source →- Improve the panic message for when a task is polled after completion. (#73)
Release notes
Open source →- Improve the panic message for when a task is polled after completion. (#73)
-
4.7.004 Jan 2024Release notes
Open source →- Add
from_rawandinto_rawfunctions forRunnableto ease passing it
across an FFI boundary. (#65)
Release notes
Open source →- Add
from_rawandinto_rawfunctions forRunnableto ease passing it across an FFI boundary. (#65)
- Add
-
4.6.017 Dec 2023Release notes
Open source →- Bump MSRV to 1.57. (#63)
- Task layout computation failures are now a compile-time error instead of a runtime abort. (#63)
-
4.5.018 Oct 2023Release notes
Open source →- Add a
portable-atomicfeature that enables the usage of fallback primitives for CPUs without atomics. (#58)
Release notes
Open source →- Add a
portable-atomicfeature that enables the usage of fallback primitives for CPUs without atomics. (#58)
- Add a
-
4.4.125 Sep 2023 -
4.4.024 Mar 2023Release notes
Open source →- 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)
- Ensure that the allocation doesn't exceed
-
4.3.007 Jul 2022Release notes
Open source →- 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)
-
4.2.004 Mar 2022 -
4.1.026 Jan 2022 -
4.0.318 Oct 2020 -
4.0.222 Sep 2020 -
4.0.121 Sep 2020 -
4.0.020 Sep 2020Release notes
Open source →- Rename
TasktoRunnable. - Rename
JoinHandletoTask. - Cancel
Taskon drop. - Add
Task::detach()andTask::cancel(). - Add
spawn_unchecked().
- Rename
-
3.0.015 Apr 2020Release notes
Open source →- Use
ThreadIdinspawn_localbecause OS-provided IDs can get recycled. - Add
stdfeature toCargo.toml.
- Use
-
2.1.114 Apr 2020 -
2.1.014 Apr 2020 -
2.0.012 Apr 2020 -
1.3.103 Feb 2020 -
1.3.024 Jan 2020 -
1.2.110 Jan 2020 -
1.2.007 Jan 2020Release notes
Open source →- The crate is now marked with
#![no_std]. - Add
Task::wakerandJoinHandle::waker. - Add
Task::into_rawandTask::from_raw.
- The crate is now marked with
-
1.1.131 Dec 2019Release notes
Open source →- Fix a use-after-free bug where the schedule function is dropped while running.
-
1.1.024 Dec 2019Release notes
Open source →- If a task is dropped or canceled outside the
runmethod, it gets re-scheduled. - Add
spawn_localconstructor.
- If a task is dropped or canceled outside the
-
1.0.016 Aug 2019 -
0.1.007 May 2019Nothing published for this version