Rust-Postgres
PostgreSQL support for Rust.
postgres 
Documentation
A native, synchronous PostgreSQL client.
tokio-postgres 
Documentation
A native, asynchronous PostgreSQL client.
postgres-types 
Documentation
Conversions between Rust and Postgres types.
postgres-native-tls 
Documentation
TLS support for postgres and tokio-postgres via native-tls.
postgres-openssl 
Documentation
TLS support for postgres and tokio-postgres via openssl.
Running test suite
The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:
- Install
docker and docker-compose.
- On ubuntu:
sudo apt install docker.io docker-compose.
- Make sure your user has permissions for docker.
- On ubuntu:
sudo usermod -aG docker $USER
- Change to top-level directory of
rust-postgres repo.
- Run
docker-compose up -d.
- Run
cargo test.
- Run
docker-compose stop.