7537e8a91819fa66d1590811e34a9c59b948b1af
Swap the md5 crate for the md-5 crate. Despite the latter's somewhat more suspicious name, it is part of the wider RustCrypto ecosystem, and shares code with the sha2 crate that postgres-protocol already uses.
Rust-Postgres
PostgreSQL support for Rust.
postgres 
A native, synchronous PostgreSQL client.
tokio-postgres 
A native, asynchronous PostgreSQL client.
postgres-types 
Conversions between Rust and Postgres types.
postgres-native-tls 
TLS support for postgres and tokio-postgres via native-tls.
postgres-openssl 
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
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.
Description
Languages
Rust
99.3%
Shell
0.7%