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

macro async-generic

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

5 releases (2 stable)

1.1.0 Mar 29, 2024
1.0.0 Dec 26, 2023
0.1.2 Sep 28, 2023
0.1.1 Sep 22, 2023
0.1.0 Sep 22, 2023

#1517 in Procedural macros

Download history 668/week @ 2024-01-03 631/week @ 2024-01-10 1051/week @ 2024-01-17 1336/week @ 2024-01-24 14581/week @ 2024-01-31 10075/week @ 2024-02-07 6965/week @ 2024-02-14 9884/week @ 2024-02-21 10525/week @ 2024-02-28 8276/week @ 2024-03-06 1310/week @ 2024-03-13 1284/week @ 2024-03-20 1571/week @ 2024-03-27 1230/week @ 2024-04-03 1448/week @ 2024-04-10 1102/week @ 2024-04-17

5,604 downloads per month
Used in 2 crates (via c2pa)

MIT/Apache

9KB
168 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

~320–770KB
~18K SLoC