Skip to content

Commit e13e781

Browse files
author
Julius de Bruijn
committed
Fork everything as prisma-postgres
1 parent 7d3753e commit e13e781

File tree

6 files changed

+34
-47
lines changed

6 files changed

+34
-47
lines changed

README.md

+12-16
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
# Rust-Postgres
2-
[![CircleCI](https://circleci.com/gh/sfackler/rust-postgres.svg?style=shield)](https://circleci.com/gh/sfackler/rust-postgres)
32

4-
PostgreSQL support for Rust.
3+
PostgreSQL support for Rust. This version adds a new config option for
4+
pgbouncer, allowing prepared statement use on pgbouncer's transaction mode. If
5+
you don't need this, you're much better off with the [original
6+
crate](https://crates.io/crates/postgres).
57

6-
## postgres [![Latest Version](https://img.shields.io/crates/v/postgres.svg)](https://crates.io/crates/postgres)
8+
## postgres [![Latest Version](https://img.shields.io/crates/v/prisma-postgres.svg)](https://crates.io/crates/prisma-postgres)
79

8-
[Documentation](https://docs.rs/postgres)
10+
[Documentation](https://docs.rs/prisma-postgres)
911

1012
A native, synchronous PostgreSQL client.
1113

12-
## tokio-postgres [![Latest Version](https://img.shields.io/crates/v/tokio-postgres.svg)](https://crates.io/crates/tokio-postgres)
14+
## tokio-postgres [![Latest Version](https://img.shields.io/crates/v/tokio-postgres.svg)](https://crates.io/crates/prisma-tokio-postgres)
1315

14-
[Documentation](https://docs.rs/tokio-postgres)
16+
[Documentation](https://docs.rs/prisma-tokio-postgres)
1517

1618
A native, asynchronous PostgreSQL client.
1719

18-
## postgres-types [![Latest Version](https://img.shields.io/crates/v/postgres-types.svg)](https://crates.io/crates/postgres-types)
20+
## postgres-types [![Latest Version](https://img.shields.io/crates/v/postgres-types.svg)](https://crates.io/crates/prisma-postgres-types)
1921

20-
[Documentation](https://docs.rs/postgres-types)
22+
[Documentation](https://docs.rs/prisma-postgres-types)
2123

2224
Conversions between Rust and Postgres types.
2325

24-
## postgres-native-tls [![Latest Version](https://img.shields.io/crates/v/postgres-native-tls.svg)](https://crates.io/crates/postgres-native-tls)
26+
## postgres-native-tls [![Latest Version](https://img.shields.io/crates/v/postgres-native-tls.svg)](https://crates.io/crates/prisma-postgres-native-tls)
2527

26-
[Documentation](https://docs.rs/postgres-native-tls)
28+
[Documentation](https://docs.rs/prisma-postgres-native-tls)
2729

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

30-
## postgres-openssl [![Latest Version](https://img.shields.io/crates/v/postgres-openssl.svg)](https://crates.io/crates/postgres-openssl)
31-
32-
[Documentation](https://docs.rs/postgres-openssl)
33-
34-
TLS support for postgres and tokio-postgres via openssl.
35-
3632
# Running test suite
3733

3834
The test suite requires postgres to be running in the correct configuration. The easiest way to do this is with docker:

postgres-native-tls/Cargo.toml

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
[package]
22
name = "postgres-native-tls"
33
version = "0.5.0"
4-
authors = ["Steven Fackler <[email protected]>"]
4+
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"
7-
description = "TLS support for tokio-postgres via native-tls"
8-
repository = "https://github.com/sfackler/rust-postgres"
7+
description = "TLS support for prisma-tokio-postgres via native-tls"
8+
repository = "https://github.com/pimeys/rust-postgres"
99
readme = "../README.md"
1010

11-
[badges]
12-
circle-ci = { repository = "sfackler/rust-postgres" }
13-
1411
[features]
1512
default = ["runtime"]
16-
runtime = ["tokio-postgres/runtime"]
13+
runtime = ["prisma-tokio-postgres/runtime"]
1714

1815
[dependencies]
1916
futures = "0.3"
2017
native-tls = "0.2"
2118
tokio = "1.0"
2219
tokio-native-tls = "0.3"
23-
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
20+
prisma-tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
2421

2522
[dev-dependencies]
2623
tokio = { version = "1.0", features = ["full"] }
27-
postgres = { version = "0.19.0", path = "../postgres" }
24+
prisma-postgres = { version = "0.19.0", path = "../postgres" }

postgres-protocol/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "postgres-protocol"
2+
name = "prisma-postgres-protocol"
33
version = "0.6.0"
4-
authors = ["Steven Fackler <[email protected]>"]
4+
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
55
edition = "2018"
66
description = "Low level Postgres protocol APIs"
77
license = "MIT/Apache-2.0"
8-
repository = "https://github.com/sfackler/rust-postgres"
8+
repository = "https://github.com/pimeys/rust-postgres"
99
readme = "../README.md"
1010

1111
[dependencies]

postgres-types/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "postgres-types"
2+
name = "prisma-postgres-types"
33
version = "0.2.0"
4-
authors = ["Steven Fackler <[email protected]>"]
4+
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"
77
description = "Conversions between Rust and Postgres values"
8-
repository = "https://github.com/sfackler/rust-postgres"
8+
repository = "https://github.com/pimeys/rust-postgres"
99
readme = "../README.md"
1010
keywords = ["database", "postgres", "postgresql", "sql"]
1111
categories = ["database"]
@@ -23,8 +23,8 @@ with-time-0_2 = ["time-02"]
2323
[dependencies]
2424
bytes = "1.0"
2525
fallible-iterator = "0.2"
26-
postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
27-
postgres-derive = { version = "0.4.0", optional = true, path = "../postgres-derive" }
26+
prisma-postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
27+
prisma-postgres-derive = { version = "0.4.0", optional = true, path = "../postgres-derive" }
2828

2929
bit-vec-06 = { version = "0.6", package = "bit-vec", optional = true }
3030
chrono-04 = { version = "0.4.16", package = "chrono", default-features = false, features = ["clock"], optional = true }

postgres/Cargo.toml

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
2-
name = "postgres"
2+
name = "prisma-postgres"
33
version = "0.19.0"
4-
authors = ["Steven Fackler <[email protected]>"]
4+
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"
77
description = "A native, synchronous PostgreSQL client"
@@ -17,9 +17,6 @@ harness = false
1717
[package.metadata.docs.rs]
1818
all-features = true
1919

20-
[badges]
21-
circle-ci = { repository = "sfackler/rust-postgres" }
22-
2320
[features]
2421
with-bit-vec-0_6 = ["tokio-postgres/with-bit-vec-0_6"]
2522
with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
@@ -33,7 +30,7 @@ with-time-0_2 = ["tokio-postgres/with-time-0_2"]
3330
bytes = "1.0"
3431
fallible-iterator = "0.2"
3532
futures = "0.3"
36-
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres" }
33+
prisma-tokio-postgres = { version = "0.7.0", path = "../tokio-postgres" }
3734

3835
tokio = { version = "1.0", features = ["rt", "time"] }
3936
log = "0.4"

tokio-postgres/Cargo.toml

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "tokio-postgres"
2+
name = "prisma-tokio-postgres"
33
version = "0.7.0"
4-
authors = ["Steven Fackler <[email protected]>"]
4+
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
55
edition = "2018"
66
license = "MIT/Apache-2.0"
77
description = "A native, asynchronous PostgreSQL client"
8-
repository = "https://github.com/sfackler/rust-postgres"
8+
repository = "https://github.com/pimeys/rust-postgres"
99
readme = "../README.md"
1010
keywords = ["database", "postgres", "postgresql", "sql", "async"]
1111
categories = ["database"]
@@ -20,9 +20,6 @@ harness = false
2020
[package.metadata.docs.rs]
2121
all-features = true
2222

23-
[badges]
24-
circle-ci = { repository = "sfackler/rust-postgres" }
25-
2623
[features]
2724
default = ["runtime"]
2825
runtime = ["tokio/net", "tokio/time"]
@@ -46,8 +43,8 @@ parking_lot = "0.11"
4643
percent-encoding = "2.0"
4744
pin-project-lite = "0.2"
4845
phf = "0.8"
49-
postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
50-
postgres-types = { version = "0.2.0", path = "../postgres-types" }
46+
prisma-postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
47+
prisma-postgres-types = { version = "0.2.0", path = "../postgres-types" }
5148
socket2 = "0.3"
5249
tokio = { version = "1.0", features = ["io-util"] }
5350
tokio-util = { version = "0.6", features = ["codec"] }

0 commit comments

Comments
 (0)