Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Is Salvo Really the Simplest Rust Web Framework? - Rustlang - Rust Programming

Chris Hay via YouTube

Overview

Explore the Salvo web framework for Rust in this comprehensive video tutorial. Learn about Salvo's architecture built on the Tokio stack, installation process, and how to create your first "Hello World" application. Compare Salvo's performance against other Rust web frameworks like Rocket.rs and Actix-Web through quick benchmarks. Dive into Salvo's key feature - the chainable tree routing mechanism - and discover how to implement custom handlers, serve static web content, and integrate middleware such as compression. Follow along as the tutorial demonstrates serving HTML pages, React applications, and public directories. Gain insights into the pros and cons of using Salvo and evaluate its suitability for production environments. By the end of this 33-minute guide, you'll have a solid understanding of Salvo's capabilities and whether it lives up to its claim as the simplest Rust web framework.

Syllabus

- intro
- what is salvo
- salvo is built on the tokio stack
- install salvo
- salvo hello world
- performance testing salvo with wrk
- serving up static html pages
- chainable tree routing with salvo
- serving public directories
- using middleware to compress with brotli
- serving react apps
- pro's and cons
- conclusion

Taught by

Chris Hay

Reviews

Start your review of Is Salvo Really the Simplest Rust Web Framework? - Rustlang - Rust Programming

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.