Summary
In this chapter, we went through the basics of Cargo. With Cargo, we managed to build basic applications, document them, compile them, and run them. Looking at how clean and easy this implementation was, it is clear to see why Rust is one of the most favored languages. Managing all the functionality, documentation, and dependencies in one file with a few lines of code speeds up the whole process. Combining this with a strict, helpful compiler makes Rust a no-brainer when it comes to managing complex projects. We managed our complexity by wrapping our module in easy-to-use interfaces and interacting with the user's inputs through the command line.
Right now, as you stand, you can start building Rust code to solve a range of problems. If you want to build an application that interacts as a Rust web server with a frontend and database, I recommend that you read my other book on web development in Rust, Rust Web Programming, and start at Chapter 3, as you have now covered...