#run-time #proc-macro #procedural #macro #async

macro hooch-macro

Procedural macros for the hooch async runtime

1 unstable release

0.1.0 Nov 10, 2024

#2086 in Asynchronous

Download history 64/week @ 2024-11-04 57/week @ 2024-11-11

121 downloads per month
Used in hooch

Apache-2.0

5KB
53 lines

hooch-macro

hooch-macro is a procedural macro crate that provides attribute macros designed to integrate seamlessly with the hooch async runtime. This crate simplifies the usage of custom runtime configurations and boilerplate, enabling developers to build and manage their async Rust applications efficiently.

Features

  • Attribute macro #[hooch_main] to easily set up the entry point for your async runtime.
  • Configurable worker count directly through macro attributes.
  • Lightweight and efficient, designed to work specifically with the hooch runtime.

Dependencies

~220–660KB
~16K SLoC