What is Rocket?
Rocket is a Rust web framework, like Actix Web. It’s newer than Actix Web and has a lower user base at the time of writing. In the previous edition of this book, Rocket was running on nightly Rust, meaning that the releases were not stable. However, now, Rocket is running on stable Rust.
The framework does have some advantages, depending on your style of coding. Rocket is simpler to write, since it implements boilerplate code itself, so the developer does not have to write boilerplate themselves. Rocket also supports JSON parsing, forms, and type checking out of the box, which can all be implemented with just a few lines of code. Features such as logging are already implemented as soon as you start a Rocket server. If you want to just get an application off the ground with little effort, then Rocket is a good framework. However, it is not as established as Actix Web, meaning that as you get more advanced, you might find yourself envying some of the features...