Axum Project – Merging Routes | Rust Language
Adding routes to my Rust code (Axum 0.7) using merge.
“The merge function in the Axum web framework combines the paths and fallbacks of two routers into a single router. This is beneficial for modular app development, allowing the combination of distinct route configurations into one. ”
🟩 https://docs.rs/axum/latest/axum/routing/struct.Router.html#method.merge
Check here for any code additions :
🟩 https://github.com/RGGH/axum_yt/tree/p6
🟩 https://docs.shuttle.rs/tutorials/rest-http-service-with-axum#routing
Shuttle
———–
🔗 https://youtu.be/-t7Aa6Dr4pI?si=RTr-2q2yoS_KxnZU
Linux Hosting – VPS server – Webdock
—————————————————————-
🟩 Webdock Linux Hosting : https://webdock.io/en?maff=wdaff–170
Nostr
———
@RngWeb
findthatbit@iris.to
https://findthatbit.info/
https://redandgreen.co.uk/
#rustlang #axum #postgres
by Learning Rust
linux web server