Rust does not offer any data storage natively, but the community has built several crates for accessing third-party data storages. In this chapter, we'll take a look at some of them.
We will cover the following topics in this chapter:
- The rust-postgres
- The r2d2 for connection pooling
- Object-relation mapping using Diesel
- Combining Diesel with Rocket