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

macro async-generic

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

6 releases (3 stable)

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

#191 in Procedural macros

Download history 13046/week @ 2024-05-16 15716/week @ 2024-05-23 26866/week @ 2024-05-30 19428/week @ 2024-06-06 13341/week @ 2024-06-13 6895/week @ 2024-06-20 4788/week @ 2024-06-27 7491/week @ 2024-07-04 37683/week @ 2024-07-11 45680/week @ 2024-07-18 23330/week @ 2024-07-25 41208/week @ 2024-08-01 42810/week @ 2024-08-08 28979/week @ 2024-08-15 42656/week @ 2024-08-22 16371/week @ 2024-08-29

132,304 downloads per month
Used in 6 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–670KB
~16K SLoC