Crates.io | postgres |
lib.rs | postgres |
version | 0.19.9 |
source | src |
created_at | 2014-11-24 02:34:44.756689 |
updated_at | 2024-09-16 00:15:04.187261 |
description | A native, synchronous PostgreSQL client |
homepage | |
repository | https://github.com/sfackler/rust-postgres |
max_upload_size | |
id | 382 |
size | 124,803 |
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
.