Rust: Diesel tutorial with Sqlite

Опубликовано: 14 Март 2026
на канале: Crazcalm's Tech Stack
7,181
246

I tried going through the diesel tutorial and I ran into an issue that prevented me from using the database they wanted me to use. Given that diesel supports multiple database backends, I decided to go through their tutorial with a different database (Sqlite). In doing so, I had to make a number of changes to make everything work. This video outlines that process.


Links:
Diesel Tutorial: https://diesel.rs/guides/getting-star...
Diesel github page: https://github.com/diesel-rs/diesel
Diesel crate: https://crates.io/crates/diesel
ORM wiki: https://en.wikipedia.org/wiki/Object-...
Diesel docs -- SupportsReturningClause: https://docs.rs/diesel/1.4.5/diesel/b...
Diesel docs -- execute: https://docs.rs/diesel/1.4.5/diesel/q...


My social links:
Twitter:   / crazcalm  
IG:   / crazcalm.tech.stack