#async-trait #traits #macro #automatic #define #version #named

macro async_sync_trait_procmacro

Provides a macro for working with async traits

2 releases

0.1.1 Feb 14, 2023

#47 in #versions


Used in xand-api-client

MIT/Apache

11KB
168 lines

This crate provides a macro (async_sync_trait) to define async traits (and their implementations) while automatically providing synchronous versions of each method named method_name_sync. See the macro's docs for details.

Dependencies

~1.5MB
~33K SLoC