| Crates.io | postgres-native-tls |
| lib.rs | postgres-native-tls |
| version | 0.5.2 |
| created_at | 2018-11-12 06:10:15.090971+00 |
| updated_at | 2025-09-25 07:59:19.363982+00 |
| description | TLS support for tokio-postgres via native-tls |
| homepage | |
| repository | https://github.com/rust-postgres/rust-postgres |
| max_upload_size | |
| id | 96195 |
| size | 55,847 |
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 $USERrust-postgres repo.docker-compose up -d.cargo test.docker-compose stop.