auto_workers!() { /* proc-macro */ }Expand description
Auto-discover and include all workers from src/workers/*.rs
This macro scans the workers directory at build time and generates
the necessary module declarations and worker registration code.
Each file should have an async install() function that registers workers.
§Usage
ⓘ
use rustf::prelude::*;
let app = RustF::new()
.with_workers()
.workers_from(auto_workers!());