/
View dependency graph
Depends on
- dh-cargo (dh-sequence-cargo)
- rust-async-trait (librust-async-trait-0.1+default-dev)
- rust-byteorder (librust-byteorder-1+default-dev)
- rust-bytes (librust-bytes-1+default-dev)
- rust-fallible-iterator (librust-fallible-iterator-0.3+default-dev)
- rust-log (librust-log-0.4+default-dev)
- rust-parking-lot (librust-parking-lot-0.12+default-dev)
- rust-percent-encoding (librust-percent-encoding-2+default-dev)
- rust-phf (librust-phf-0.11+default-dev)
- rust-pin-project-lite (librust-pin-project-lite-0.2+default-dev)
- rust-postgres-protocol (librust-postgres-protocol-0.6+default-dev)
- rust-postgres-types (librust-postgres-types-0.2+array-impls-dev, librust-postgres-types-0.2+default-dev, librust-postgres-types-0.2+with-bit-vec-0-8-dev, librust-postgres-types-0.2+with-chrono-0-4-dev, librust-postgres-types-0.2+with-cidr-0-3-dev, librust-postgres-types-0.2+with-eui48-1-dev, librust-postgres-types-0.2+with-geo-types-0-7-dev, librust-postgres-types-0.2+with-jiff-0-2-dev, librust-postgres-types-0.2+with-serde-json-1-dev, librust-postgres-types-0.2+with-time-0-3-dev, librust-postgres-types-0.2+with-uuid-1-dev)
- rust-socket2 (librust-socket2-0.6+all-dev, librust-socket2-0.6+default-dev)
- rust-tokio (librust-tokio-1+default-dev, librust-tokio-1+io-util-dev, librust-tokio-1+net-dev, librust-tokio-1+time-dev)
- cargo, debhelper-compat, librust-futures-channel-0.3+default-dev, librust-futures-channel-0.3+sink-dev, librust-futures-util-0.3+sink-dev, librust-rand-0.10+default-dev, librust-tokio-util-0.7+codec-dev, librust-tokio-util-0.7+default-dev, librust-whoami-2+default-dev, libstd-rust-dev, rustc
README (full)
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.
| dir | benches/ |
| dir | debian/ |
| dir | src/ |
| dir | tests/ |
| file | .cargo_vcs_info.json |
| file | CHANGELOG.md |
| file | Cargo.lock |
| file | Cargo.toml |
| file | Cargo.toml.orig |
| file | LICENSE-APACHE |
| file | LICENSE-MIT |
| file | README.md |