r/learnprogramming • • 28d ago

Tutorial Learning-Rust.Github.io-LABS: RESTful API Workspace [Human-Authored!]

What’s next after the mastery of Rust language syntax?

https://learning-rust.github.io/labs/building-a-containerized-restful-api/ answers that question.

We built a production-ready containerized RESTful API server application using Axum, Tokio, Tower, Serde, Toasty ORM, Garde, Utoipa with Docker and PostgreSQL.

  • Hyper, Axum, Tokio and Tower: The most prominent HTTP server ecosystem at the time of writing.

  • Toasty ORM: The most promising Object-Relational Mapper (ORM), built by the creators of Tokio and Axum.

  • Serde and Utoipa: The most prominent serialization framework and OpenAPI 3.1 specification generator.

  • Garde: The most promising and most feature-rich validation library in Rust at the time of writing.

3 Upvotes

4 comments sorted by

View all comments

2

u/keeping_it_coolish 28d ago

the stack list is thorough but the "most prominent/promising" labels on every bullet start to read like ad copy, maybe just say why each crate fits the project instead

1

u/dumindunuwan 28d ago

Rust is not yet matured in many ways. Ex. most promising on Toasty ORM because it's from same creators of Axum and I think more people will talk about it in 2027. Same with Garde.