Crates.io | tokio-postgres |
lib.rs | tokio-postgres |
version | 0.7.12 |
source | src |
created_at | 2016-12-26 21:48:59.906141 |
updated_at | 2024-09-16 00:11:34.041459 |
description | A native, asynchronous PostgreSQL client |
homepage | |
repository | https://github.com/sfackler/rust-postgres |
max_upload_size | |
id | 7791 |
size | 389,189 |
PostgreSQL support for Rust.
A native, synchronous PostgreSQL client.
A native, asynchronous PostgreSQL client.
Conversions between Rust and Postgres types.
TLS support for postgres and tokio-postgres via native-tls.
TLS support for postgres and tokio-postgres via openssl.
The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:
docker
and docker-compose
.
sudo apt install docker.io docker-compose
.sudo usermod -aG docker $USER
rust-postgres
repo.docker-compose up -d
.cargo test
.docker-compose stop
.