Description
The approach in src/bin is not as good as the one in src/main.rs, so look there instead. Still, the all_the_tuples macro internal to Axum should be lifted for use here. And think about getting #[async_trait] involved for a separate AsyncFromSource(Ref) trait and auto implement said trait for anything that implements the synchronous FromSource(Ref).
24 KiB
Languages
Rust 100%