/Rust-Web-Development-with-Rocket

Rust Web Development with Rocket, published by Packt

Primary LanguageRustMIT LicenseMIT

Rust Web Development with Rocket

Rust Web Development with Rocket

This is the code repository for Rust Web Development with Rocket, published by Packt.

A practical guide to building your own web applications using Rust and the Rocket framework

What is this book about?

Looking for a fast, powerful, and intuitive framework to build web applications? This Rust book will help you kickstart your web development journey and take your Rust programming skills to the next level as you uncover the power of Rocket - a fast, flexible, and fun framework powered by Rust.

This book covers the following exciting features:

  • Master the basics of Rust, such as its syntax, packages, and tools
  • Get to grips with Rocket's tooling and ecosystem
  • Extend your Rocket applications using Rust and third-party libraries
  • Create a full-fledged web app with Rocket that handles user content
  • Write pattern-matching logic and handle Rust object lifetimes

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter01.

The code will look like the following:

fn main() {
    println!("Hello World!");
}

Following is what you need for this book: This web development book is for software engineers who want to learn how to use the Rocket framework to build web applications. Although not mandatory, basic knowledge of the Rust programming language will help you understand the topics covered easily.

With the following software and hardware list you can run all code files present in the book (Chapter 1-15).

Software and Hardware List

Chapter Software required OS required
1-15 Rust programming language, stable toolchain Windows, Mac OS, and Linux
1-15 Rocket web framework 0.5 pre-released Windows, Mac OS, and Linux
1-15 PostgreSQL database server Windows, Mac OS, and Linux
1-15 Yew WebAssembly framework Windows, Mac OS, and Linux

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Errata

  • Page 30 (Code snippet 1): use our_package::cipher::{rot13, rsa, Cipher} should be added to the top of main.rs file
  • Page 17 (Code snippet 2): fn encrypt(&self) -> Result<String, Box> { should be fn encrypt(&self) -> String {

Get to Know the Author

Karuna Murti started out as a network engineer in Indonesia back in 2005. After that, he continued his career as a web developer, engineering manager, and chief engineer at a consulting company, using various languages such as PHP, Ruby, JavaScript, Fortran, and Python. He also worked with web applications and frameworks such as Magento, WordPress, and Ruby on Rails. In 2015, after establishing his own consulting company, he moved to Japan and now works as a technical lead at Merpay, one of the leading mobile payment apps in Japan. He is helping the company to build a cashless society by leading a team that connects millions of users with thousands of financial institutions in Japan. Even though he uses Go as the main language in his day job, Rust and Rocket have been a passion of his ever since their release.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781800561304