• Stars
    star
    3,037
  • Rank 14,195 (Top 0.3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created almost 11 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Native PostgreSQL driver for the Rust programming language

Rust-Postgres

PostgreSQL support for Rust.

postgres Latest Version

Documentation

A native, synchronous PostgreSQL client.

tokio-postgres Latest Version

Documentation

A native, asynchronous PostgreSQL client.

postgres-types Latest Version

Documentation

Conversions between Rust and Postgres types.

postgres-native-tls Latest Version

Documentation

TLS support for postgres and tokio-postgres via native-tls.

postgres-openssl Latest Version

Documentation

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:

  1. Install docker and docker-compose.
    1. On ubuntu: sudo apt install docker.io docker-compose.
  2. Make sure your user has permissions for docker.
    1. On ubuntu: sudo usermod -aG docker $USER
  3. Change to top-level directory of rust-postgres repo.
  4. Run docker-compose up -d.
  5. Run cargo test.
  6. Run docker-compose stop.

More Repositories

1

r2d2

A generic connection pool for Rust
Rust
1,345
star
2

rust-openssl

OpenSSL bindings for Rust
Rust
1,223
star
3

cargo-tree

Rust
531
star
4

rust-native-tls

Rust
452
star
5

rust-postgres-macros

Support macros for Rust-Postgres
Rust
154
star
6

serde-transcode

Rust
96
star
7

rust-socks

Rust
80
star
8

streaming-iterator

Rust
74
star
9

rust-fallible-iterator

Rust
53
star
10

rust-log-panics

Rust
52
star
11

foreign-types

Rust
48
star
12

scheduled-thread-pool

Rust
36
star
13

hyper-native-tls

Rust
36
star
14

rust-postgres-derive

Rust
35
star
15

rstack

Rust
33
star
16

tokio-io-timeout

Rust
28
star
17

hyper-openssl

Rust
25
star
18

rust-postgres-array

Rust
20
star
19

shell-escape

Rust
19
star
20

typed-headers

Rust
16
star
21

exponential-decay-histogram

Rust
13
star
22

staged-builder

Rust
13
star
23

rust-antidote

Rust
10
star
24

rust-postgres-large-object

Rust
9
star
25

rust-openssl-verify

Rust
9
star
26

jemalloc-ctl

Rust
9
star
27

rust-log-mdc

Rust
9
star
28

rust-postgres-range

Rust
7
star
29

stream-vbyte64

Rust
7
star
30

thread-local-object

Rust
6
star
31

rust-stringprep

Rust
6
star
32

log4rs-routing-appender

Rust
6
star
33

fallible-streaming-iterator

Rust
6
star
34

serde-smile

A Smile implementation for Serde
Rust
6
star
35

rust-postgres-protocol

5
star
36

syntax-ext-talk

JavaScript
5
star
37

log4rs-rolling-file

Rust
4
star
38

rust-posix-ipc

Rust
4
star
39

futures-state-stream

Rust
4
star
40

rust-hyper-socks

Rust
4
star
41

serde-humantime

Rust
4
star
42

rust-pg_query

Rust
3
star
43

hyper-timeout-connector

Rust
3
star
44

rust-time2

Rust
2
star
45

rust-docker-compose

Rust
1
star
46

conduit-hyper

Rust
1
star
47

busted-crate

Rust
1
star
48

advent-of-code-2016

Rust
1
star
49

advent-of-code

Rust
1
star
50

perf-hacks

Rust
1
star
51

cargo-sls-distribution

Rust
1
star
52

rust-debug-builders

Rust
1
star