Debian Codegraph @

README.md

raw symbols SCIP
1 # Rust-Postgres
2
3 PostgreSQL support for Rust.
4
5 ## postgres [![Latest Version](https://img.shields.io/crates/v/postgres.svg)](https://crates.io/crates/postgres)
6
7 [Documentation](https://docs.rs/postgres)
8
9 A native, synchronous PostgreSQL client.
10
11 ## tokio-postgres [![Latest Version](https://img.shields.io/crates/v/tokio-postgres.svg)](https://crates.io/crates/tokio-postgres)
12
13 [Documentation](https://docs.rs/tokio-postgres)
14
15 A native, asynchronous PostgreSQL client.
16
17 ## postgres-types [![Latest Version](https://img.shields.io/crates/v/postgres-types.svg)](https://crates.io/crates/postgres-types)
18
19 [Documentation](https://docs.rs/postgres-types)
20
21 Conversions between Rust and Postgres types.
22
23 ## postgres-native-tls [![Latest Version](https://img.shields.io/crates/v/postgres-native-tls.svg)](https://crates.io/crates/postgres-native-tls)
24
25 [Documentation](https://docs.rs/postgres-native-tls)
26
27 TLS support for postgres and tokio-postgres via native-tls.
28
29 ## postgres-openssl [![Latest Version](https://img.shields.io/crates/v/postgres-openssl.svg)](https://crates.io/crates/postgres-openssl)
30
31 [Documentation](https://docs.rs/postgres-openssl)
32
33 TLS support for postgres and tokio-postgres via openssl.
34
35 # Running test suite
36
37 The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:
38
39 1. Install `docker` and `docker-compose`.
40 1. On ubuntu: `sudo apt install docker.io docker-compose`.
41 1. Make sure your user has permissions for docker.
42 1. On ubuntu: ``sudo usermod -aG docker $USER``
43 1. Change to top-level directory of `rust-postgres` repo.
44 1. Run `docker-compose up -d`.
45 1. Run `cargo test`.
46 1. Run `docker-compose stop`.