Expand description
bisync_suffix_macro
provides a procedural macro to conditionally append suffixes to method names
in .await
expressions, enabling dual support for asynchronous and blocking code paths.
This macro is designed to work seamlessly with the bisync
crate, which allows functions to support
both async and blocking execution models based on feature flags. It is particularly useful in libraries
like axp192-dd
, where a single codebase needs to provide both async and blocking APIs.
For detailed usage, see the suffix
macro documentation.
Macrosยง
- suffix
- A procedural macro to conditionally append a suffix to method names in
.await
expressions.