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

macro hooch-macro

Procedural macros for the hooch async runtime

1 unstable release

new 0.1.0 Nov 10, 2024

#872 in Asynchronous

Download history 107/week @ 2024-11-08

107 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

~215–650KB
~15K SLoC