#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

#174 in Procedural macros

Download history 29232/week @ 2024-09-17 29157/week @ 2024-09-24 31403/week @ 2024-10-01 26983/week @ 2024-10-08 28786/week @ 2024-10-15 28052/week @ 2024-10-22 36467/week @ 2024-10-29 33365/week @ 2024-11-05 33178/week @ 2024-11-12 48345/week @ 2024-11-19 37668/week @ 2024-11-26 53988/week @ 2024-12-03 76549/week @ 2024-12-10 76161/week @ 2024-12-17 21749/week @ 2024-12-24 33017/week @ 2024-12-31

216,516 downloads per month
Used in 8 crates (3 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

~260–720KB
~17K SLoC