In this tutorial, we'll explore the process of building an async router in Rust for custom web routing. We'll cover the fundamentals of async programming in Rust and demonstrate how to create a flexible router that supports various routing mechanisms, such as JSON-RPC routing.
Chapters:
00:00 - Quick Overview
00:22 - Sync Router Module
03:50 - Async Router Module
09:15 - Using the Async Router
10:35 - Arc Router to Share across Tokio Task and Thread