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.