paint-brush
How to Build a To-Do List in Rust Using bb8 and Tokio_Postgres by@protocod
202 reads

How to Build a To-Do List in Rust Using bb8 and Tokio_Postgres

by Maximilien Di Dio15mJanuary 25th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Hello, world! Good news! It’s easy to create a simple to-do list using bb8 and tokio_postgres for the data layer side. Disclaimer: This example doesn't use any user interface. Feel free to add a library like egui or iced, or to setup a REST API and a web front-end. I won't show you how to set up a TLS session for the database connections in this article, however, it isn’t challenging. bb8 is a full-featured pool connection designed for asynchronous connections. The name of this crate can be explained easily because it's originally based on r2d2.

Company Mentioned

Mention Thumbnail
featured image - How to Build a To-Do List in Rust Using bb8 and Tokio_Postgres
Maximilien Di Dio HackerNoon profile picture
Maximilien Di Dio

Maximilien Di Dio

@protocod

Rust Software Developer

About @protocod
LEARN MORE ABOUT @PROTOCOD'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Maximilien Di Dio HackerNoon profile picture
Maximilien Di Dio@protocod
Rust Software Developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here