O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data Storage

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:

  • SQLite
  • The rust-postgres
  • The r2d2 for connection pooling
  • Object-relation mapping using Diesel
  • Combining Diesel with Rocket

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required