#proc-macro #async #generic #future #macro

macro async-generic

Write code that can be both async and synchronous without duplicating it

7 releases (4 stable)

1.1.2 Sep 28, 2024
1.1.1 Aug 30, 2024
1.1.0 Mar 29, 2024
1.0.0 Dec 26, 2023
0.1.2 Sep 28, 2023

#177 in Procedural macros

Download history 33639/week @ 2024-07-21 39783/week @ 2024-07-28 24786/week @ 2024-08-04 48051/week @ 2024-08-11 46044/week @ 2024-08-18 19407/week @ 2024-08-25 23501/week @ 2024-09-01 23942/week @ 2024-09-08 30104/week @ 2024-09-15 28592/week @ 2024-09-22 31170/week @ 2024-09-29 31230/week @ 2024-10-06 22899/week @ 2024-10-13 29989/week @ 2024-10-20 34422/week @ 2024-10-27 39240/week @ 2024-11-03

127,642 downloads per month
Used in 7 crates (2 directly)

MIT/Apache

9KB
167 lines

About this crate

This crate is derived from the maybe-async crate as of September 2023.

Many thanks to Guoli Lyu for their initial work on this problem space.

Dependencies

~235–680KB
~16K SLoC