When we write a real-world application, the Rust language and its standard library are not sufficient. Application frameworks are needed for particular kinds of applications, such as GUI apps, web apps, or games.
Of course, if you use a good-quality and comprehensive library, you can reduce the number of lines of code that you need to write. Using a library also offers the following two advantages:
- The overall design is improved, particularly if you are using a framework (since it imposes an architecture on your app) as it will be created by knowledgeable engineers and time-tested by a number of users.
- The number of bugs will be reduced because it will have undergone more thorough testing than that which you are likely to be able to apply.
There are actually many Rust libraries, also known as crates, but most are low-quality or quite narrow in their range of applications. This book will look at the best quality and most complete libraries for some typical application areas...