Rust Async - How to build an Async Router in Rust @JeremyChone
Rust Async - How to build an Async Router in Rust  @JeremyChone
Uploaded February 2022 | Updated November 2026, 3 hours ago
Here is a Rust Programming tutorial on how to build an Async Router in Rust. Great for custom Web routing such as JSON-RPC routing on method and the like.

Help support this channel: patreon.com/jeremychone

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

In this tutorial we will learn:

- how to make a simple router for sync functions
- Ho to use BoxFuture, Future, Box::pin to have a router for Async/await functions.
- and then, we will show how we can can share this router via Arc across tokio tasks and threads.

Jeremy Chone:

- Twitter - twitter.com/jeremychone
- Discord On Rust - discord.gg/W2besKCzjx
- AWESOME-APP - https://awesomeapp.dev - Rust Templates for building awesome applications.
- Patreon - patreon.com/jeremychone - Any help is a big help (for Rust educational content)

Other popular Rust Programming videos:

- Desktop Application Code Rust Programming template full Overview: youtube.com/watch?v=BY_ZjPGqJJk&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Tauri Quick Introduction (Desktop App wit Rust Programming): youtube.com/watch?v=kRoGYgAuZQE&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Web App tutorials series: youtube.com/watch?v=VIig9IcQ-w8&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q&list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Bevy Full Tutorial - Game Development with Rust: youtube.com/watch?v=j7qHwb7geIM&list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust for Java Developers series: youtube.com/watch?v=iFdh4sPC5Tg&list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc&index=2&t=654s

Playlists:

- Rust For Desktop App: youtube.com/playlist?list=PL7r-PXl6ZPcAQAi1lfVrtHCSbaJbwZ4O8
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: youtube.com/playlist?list=PL7r-PXl6ZPcCIOFaL7nVHXZvBmHNhrh_Q
- Rust Programming for Web Development: youtube.com/playlist?list=PL7r-PXl6ZPcCLvwpdD2Vj1O4CyoFTiHKd
- Rust Courses: youtube.com/playlist?list=PL7r-PXl6ZPcB4jn1_VR3D8tSK9DxOaiQE
- Furst for Java Developers: youtube.com/playlist?list=PL7r-PXl6ZPcD63DS2djSiz4SlXkaTfobc
Rust Async - How to build an Async Router in RustUUID v7 vs. v4 + Rust Programming ExamplesAdding Real Feature with AI Production Coding —  (ZERO VIBE CODING)Rust Workspace Production By Example (E03 - Rust Production Web App)Rust Live Coding - OpenAI Decision API
Jeremy Chone |

Rust Async - How to build an Async Router in Rust

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER