In this chapter, we'll explore building web applications with Rust. We'll get to know the benefits of a static type system and the speed of a compiled language when building web applications with it. We'll also explore Rust's strongly typed HTTP libraries and build a URL shortener as an exercise. Following that, we'll look at a very popular framework called Actix-web and build a bookmark API server with it.
In this chapter, we will cover the following topics:
- Web applications in Rust
- Building a URL shortener with Hyper Crate
- The need for web frameworks
- Understanding the Actix-web framework
- Building an HTTP Rest API using Actix-web