genawaiter
Stackless generators on stable Rust.
0.99.1
5.0M downloads/mo
#4526 most downloaded on crates.io
whatisaphone/genawaiter
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 weeks
Most releases are documented
notes for 5 of 7 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
7 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
7 releases · Nov 2019 to Mar 2020
2020
2021
2022
2023
2024
2025
2026
Releases
latest 7-
0.99.109 Mar 2020 -
0.99.016 Feb 2020Release notes
Open source →Added
- Proc macros
gen!,yield_!, and friends (Thanks @DevinR528!) - Example showing error propagation
Deprecated
generator_mut!andunsafe_create_generator!macros. Uselet_gen_using!instead.
- Proc macros
-
0.2.226 Nov 2019Release notes
Open source →Added
- Implement
Streamfor generators. (requires opting in to the dependency with the featurefutures03)
- Implement
-
0.2.111 Nov 2019Release notes
Open source →Added
generator_mut!, a safe wrapper on top ofunsafe_create_generator!.- A version of
Genwhich can be shared between threads. Conow detects when it's used after its generator has completed, and panics (in debug builds).
-
0.2.008 Nov 2019Release notes
Open source →Added
- Support for resume arguments, via
Coroutineandresume_with. - The backing state of stack-based generators is now public (
Shelf), so you can avoid using macros if you wish.
Changed
- Improved panic messages (in debug builds) which try to teach correct usage of the library.
- Stack-based generators are now "less unsafe". The lifetime of
cois now bound by the lifetime of the generator's state, instead of'static. It's not fully safe yet, but it's much better. - Improved the docs.
- Moved CI from GitLab to GitHub Actions.
- Support for resume arguments, via
-
0.1.103 Nov 2019Nothing published for this version
-
0.1.003 Nov 2019Nothing published for this version