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

macro hooch-macro

Procedural macros for the hooch async runtime

2 releases

Uses new Rust 2024

new 0.1.1 Mar 30, 2025
0.1.0 Nov 10, 2024

#2348 in Asynchronous


Used in 2 crates (via hooch)

Apache-2.0

5KB
52 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
~16K SLoC