• Stars
    star
    3,037
  • Rank 14,853 (Top 0.3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated about 1 year 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
474
star
5

rust-postgres-macros

Support macros for Rust-Postgres
Rust
154
star
6

serde-transcode

Rust
99
star
7

rust-socks

Rust
80
star
8

streaming-iterator

Rust
76
star
9

rust-fallible-iterator

Rust
54
star
10

rust-log-panics

Rust
54
star
11

foreign-types

Rust
50
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
32
star
16

tokio-io-timeout

Rust
32
star
17

hyper-openssl

Rust
25
star
18

shell-escape

Rust
20
star
19

rust-postgres-array

Rust
20
star
20

typed-headers

Rust
17
star
21

staged-builder

Rust
14
star
22

exponential-decay-histogram

Rust
13
star
23

rust-antidote

Rust
11
star
24

rust-postgres-large-object

Rust
9
star
25

jemalloc-ctl

Rust
9
star
26

rust-log-mdc

Rust
9
star
27

rust-openssl-verify

Rust
8
star
28

rust-postgres-range

Rust
7
star
29

rust-stringprep

Rust
7
star
30

stream-vbyte64

Rust
7
star
31

thread-local-object

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

rust-posix-ipc

Rust
5
star
38

log4rs-rolling-file

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

serde-file-value

Rust
1
star
47

conduit-hyper

Rust
1
star
48

busted-crate

Rust
1
star
49

advent-of-code-2016

Rust
1
star
50

perf-hacks

Rust
1
star
51

advent-of-code

Rust
1
star
52

cargo-sls-distribution

Rust
1
star
53

rust-debug-builders

Rust
1
star