#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

#155 in Procedural macros

Download history 34378/week @ 2024-10-26 38244/week @ 2024-11-02 28825/week @ 2024-11-09 44244/week @ 2024-11-16 41269/week @ 2024-11-23 48426/week @ 2024-11-30 67566/week @ 2024-12-07 93067/week @ 2024-12-14 16103/week @ 2024-12-21 37130/week @ 2024-12-28 89059/week @ 2025-01-04 124933/week @ 2025-01-11 129157/week @ 2025-01-18 176151/week @ 2025-01-25 176124/week @ 2025-02-01 192993/week @ 2025-02-08

698,727 downloads per month
Used in 9 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

~205–640KB
~15K SLoC