It provide utilities to work with the tokio-postgres crate, specifically through the use of FromRow
and TryFromRow
derive macros.
These macros simplify the process of converting database rows into Rust structs.
Installation
Add tokio-postgres-utils
to your Cargo.toml
:
[]
= "0.7"
= "0.1"
Example
use FromRow;
Expand into something like:
use Row;