Rust RPC Router - Axum/Tower/Bevy Style (E05)

Опубликовано: 14 Февраль 2026
на канале: Jeremy Chone
13,880
244

I've completely rewritten the Rust JSON-RPC Router in the Rust Web-App Production Blueprint to follow the "dyn-handler" pattern now. This allows for binding many types of functions as RPC handlers, akin to what we see in systems like Axum, Tower, or Bevy. Rust rocks!

This rewrite is a part of the rust10x Rust Web-App production coding.

It also features a very cool `IntoParams` model with a default implementation that can be customized (I'll cover this in another video if requested).

Source code for video:
Git Repo: https://github.com/rust10x/rust-web-app
Git Tag: https://github.com/rust10x/rust-web-a...

Happy coding!

== Jeremy Chone:

Patreon -   / jeremychone   - Any help is a big help (for Rust educational content)
Twitter -   / jeremychone  
Discord general-rust -   / discord  
Discord rust10x -   / discord  
Rust10x - https://rust10x.com - Rust resources for production coding.

== Rust10x production coding:

Episode 01:    • Rust Axum Production Coding (E01 - Rust We...  
Episode 02:    • Rust Sea-Query + SQLX + ModQL (E02 - Produ...  
Episode 03:    • Rust Workspace Production By Example (E03 ...  
Episode 04:    • Rust Argon 2 Password Hashing with Multi-S...  
Episode 05.1:    • Rust RPC Router - Axum/Tower/Bevy Style (E05)  


Web Site: https://rust10x.com/web-app
GitHub: https://github.com/rust10x/rust-web-app
Discord rust10x -   / discord  
Patreon -   / jeremychone   - Any help is a big help (for Rust Production Coding educational content)