October 2019
Intermediate to advanced
444 pages
10h 37m
English
diesel-rs is Rust's most well-known database connection framework and provides a fast, type-safe, and easy-to-use experience with mapping database tables. This is, again, possible thanks to the power of macros, which enable the creation of zero-cost abstractions at compile time. However, there is a trade-off for a few things and it's important to learn how to use the framework.
In step 1, we are preparing the imports—nothing too interesting but you'll notice the declaration ...
Read now
Unlock full access