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

Summary

We took a quick look at a few ways to do basic database interaction using Rust, by using the low-level SQLite and PostgreSQL library crates. We saw how to augment the database connectivity with a connection pool using r2d2. Finally, we made a small application with Diesel, the safe and performant ORM.

In the next chapter, we'll take a look at debugging Rust code.

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