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:
- Install
dockeranddocker-compose.- On ubuntu:
sudo apt install docker.io docker-compose.
- On ubuntu:
- Make sure your user has permissions for docker.
- On ubuntu:
sudo usermod -aG docker $USER
- On ubuntu:
- Change to top-level directory of
rust-postgresrepo. - Run
docker-compose up -d. - Run
cargo test. - Run
docker-compose stop.