Commit Graph

55 Commits

Author SHA1 Message Date
John Nunley 3065c372e1 v4.7.1
Signed-off-by: John Nunley <dev@notgull.net>
2024-04-27 16:05:50 -07:00
dependabot[bot] c2122eb91b Update flaky_test requirement from 0.1 to 0.2
Updates the requirements on [flaky_test](https://github.com/denoland/flaky_test) to permit the latest version.
- [Release notes](https://github.com/denoland/flaky_test/releases)
- [Commits](https://github.com/denoland/flaky_test/compare/v0.1.0...v0.2.2)

---
updated-dependencies:
- dependency-name: flaky_test
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 10:55:06 +09:00
dependabot[bot] ef60b9c7a2 Update smol requirement from 1 to 2
Updates the requirements on [smol](https://github.com/smol-rs/smol) to permit the latest version.
- [Release notes](https://github.com/smol-rs/smol/releases)
- [Changelog](https://github.com/smol-rs/smol/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/smol/compare/v1.0.0...v2.0.0)

---
updated-dependencies:
- dependency-name: smol
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 13:25:01 +09:00
Taiki Endo 04fe57a95d Migrate to Rust 2021 2024-01-07 13:20:09 +09:00
John Nunley cb8fc148eb
v4.7.0
Signed-off-by: John Nunley <dev@notgull.net>
2024-01-03 18:39:31 -08:00
John Nunley dfa237486f
v4.6.0 (#64)
Signed-off-by: John Nunley <dev@notgull.net>
2023-12-16 18:55:33 -08:00
Piotr Osiewicz e909f77172
m: Add leap_unwrap & make RawTask::TASK_LAYOUT non-optional
This PR makes RawTask::TASK_LAYOUT non-optional by panicking in const context in case of not having it. Note that due to MSRV being 1.47 a panic! could not be used in const context, so I resorted to out of bounds array read.
The error message in case of failure is that of the faulty expression ('async_task_failed_to_compile[1]'), which is pretty bad, but in reality we should not be getting there ever.
2023-12-14 15:13:56 -08:00
dependabot[bot] 918ec72b65 Update futures-lite requirement from 1.12.0 to 2.0.0
Updates the requirements on [futures-lite](https://github.com/smol-rs/futures-lite) to permit the latest version.
- [Release notes](https://github.com/smol-rs/futures-lite/releases)
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/futures-lite/compare/v1.12.0...v2.0.0)

---
updated-dependencies:
- dependency-name: futures-lite
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 10:32:42 +09:00
John Nunley af1ed48bad
v4.5.0
Signed-off-by: John Nunley <dev@notgull.net>
2023-10-17 19:17:27 -07:00
ivmarkov f222e1ced0
feat: Support for CPU architectures with no atomic instructions
Adds a `portable-atomic` feature to support these architectures.
2023-10-11 08:43:00 -07:00
John Nunley 30296f9582
v4.4.1
Signed-off-by: John Nunley <dev@notgull.net>
2023-09-25 10:48:49 -07:00
dependabot[bot] c42a143176 Update flume requirement from 0.10 to 0.11
Updates the requirements on [flume](https://github.com/zesterer/flume) to permit the latest version.
- [Changelog](https://github.com/zesterer/flume/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zesterer/flume/commits)

---
updated-dependencies:
- dependency-name: flume
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 20:43:37 +09:00
Ken Hoover 9cd6f58545
docs(examples): Add example for capturing metadata
* docs(examples): Add example for capturing metadata

Adds an example of capturing metadata within the future creation
function.

* refactor(examples): Added ByDuration::duration helper

* style(examples): Deref the &mut &Cell to &Cell immediately

One less deref involved after this.

* style(examples): Fix clippy
2023-08-03 19:58:32 -07:00
John Nunley eeee41da55
v4.4.0 (#45)
- 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)
2023-03-24 10:16:58 -07:00
John Nunley 2e0a196eef
Add panic propagation (#37)
* Add panic propogation

* Make propagation a builder option
2022-11-26 19:02:30 -08:00
Taiki Endo f910d25edb Release 4.3.0 2022-07-08 01:06:47 +09:00
John Nunley 8a6ffad662
Evaluate the layouts for the tasks at compile time (#30) 2022-07-07 21:32:40 +09:00
Taiki Endo de0c79d171 Release 4.2.0 2022-03-05 00:44:53 +09:00
Taiki Endo e6daa4ff3c Release 4.1.0 2022-01-26 12:04:23 +09:00
Nika Layzell 3706c1e702 Add non-panicking poll option for Task 2022-01-21 16:02:12 -05:00
Taiki Endo f875ce8eda Fix flaky test 2022-01-10 12:01:14 +09:00
Taiki Endo da96d3f7ab Create GitHub release automatically 2022-01-08 22:14:07 +09:00
Taiki Endo 1c9d4cf0b7 Clean up CI config 2022-01-08 22:11:37 +09:00
Taiki Endo e97d5c37d3 Remove readme field from Cargo.toml 2021-02-14 19:43:53 +09:00
Taiki Endo 8557665509 Update license badge to match Cargo.toml 2021-02-14 13:38:19 +09:00
Taiki Endo cf14fe23d5 Update URLs 2020-12-26 23:47:13 +09:00
Taiki Endo 0f3c80c512 Update flume to 0.10 2020-12-25 18:32:28 +09:00
Stjepan Glavina b5ec84da08 Bump to v4.0.3 2020-10-19 00:05:35 +02:00
Stjepan Glavina 7e1581aae0 Bump to v4.0.2 2020-09-22 21:42:28 +02:00
Stjepan Glavina 0a2257c2e7 Bump to v4.0.1 2020-09-21 12:48:23 +02:00
Stjepan Glavina 4e460bb845 Bump to v4.0.0 2020-09-20 02:36:17 +02:00
Stjepan Glavina 2404b1b32e Docs and comments 2020-09-19 21:34:44 +02:00
Stjepan Glavina deb709f419 Replace crossbeam with flume 2020-09-18 14:31:53 +02:00
Stjepan Glavina ceeb5a1742 Modernize dependencies 2020-09-18 11:45:24 +02:00
Stjepan Glavina c74a321b9d Cleanup 2020-04-22 21:08:28 +02:00
Stjepan Glavina 405e854ec6 Bump to v3.0.0 2020-04-15 18:37:46 +02:00
Stjepan Glavina 9b0453baa9 Use ThreadId for spawn_local 2020-04-15 18:36:47 +02:00
Stjepan Glavina 2469ca38c1 Bump to v2.1.1 2020-04-14 20:54:21 +02:00
Stjepan Glavina d7b17fb5b0 Docs and grammar 2020-04-14 14:38:57 +02:00
Stjepan Glavina 2c848a6dbb Bump to v2.0.0 2020-04-12 19:52:32 +02:00
Stjepan Glavina b7a2496804 Bump to 1.3.1 2020-02-03 15:18:01 +01:00
Stjepan Glavina 7f91c126df Bump to 1.3.0 2020-01-25 00:18:16 +01:00
Stjepan Glavina a94d2f4c44
Add waker_fn (#18)
* Add waker_fn

* Add a waker_fn test

* Double sleep times

* More benches

* Prohibit recursive block_on calls

* Reformat code
2020-01-25 00:14:33 +01:00
Stjepan Glavina ca18d41ed0 Bump to 1.2.1 2020-01-10 15:41:03 -05:00
Florian Gilcher 3fac7ef126
Add no-std category 2020-01-08 09:10:53 +02:00
Stjepan Glavina 3da857ea42 Bump to 1.2.0 2020-01-07 22:46:57 +01:00
Stjepan Glavina 7e7d19cf17 Remove libc dependency on non-Unix platforms 2020-01-07 22:45:13 +01:00
Stjepan Glavina 921e8a0926
Make the crate no_std (#15)
* Remove crossbeam

* Rewrite notification and registration

* Make crate no_std

* Add a comment
2020-01-06 14:31:28 -06:00
Stjepan Glavina 119f82fbe3 Bump to 1.1.1 2019-12-31 01:41:10 +01:00
Stjepan Glavina 9f11ab38cc Bump to 1.1.0 2019-12-24 20:05:54 +01:00