Skip to content

Commit

Permalink
Fork everything as prisma-postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn committed Jan 15, 2021
1 parent 7d3753e commit b37e66f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 31 deletions.
15 changes: 6 additions & 9 deletions postgres-native-tls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
[package]
name = "postgres-native-tls"
version = "0.5.0"
authors = ["Steven Fackler <[email protected]>"]
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
description = "TLS support for tokio-postgres via native-tls"
repository = "https://github.com/sfackler/rust-postgres"
description = "TLS support for prisma-tokio-postgres via native-tls"
repository = "https://github.com/pimeys/rust-postgres"
readme = "../README.md"

[badges]
circle-ci = { repository = "sfackler/rust-postgres" }

[features]
default = ["runtime"]
runtime = ["tokio-postgres/runtime"]
runtime = ["prisma-tokio-postgres/runtime"]

[dependencies]
futures = "0.3"
native-tls = "0.2"
tokio = "1.0"
tokio-native-tls = "0.3"
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
prisma-tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }

[dev-dependencies]
tokio = { version = "1.0", features = ["full"] }
postgres = { version = "0.19.0", path = "../postgres" }
prisma-postgres = { version = "0.19.0", path = "../postgres" }
6 changes: 3 additions & 3 deletions postgres-protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "postgres-protocol"
name = "prisma-postgres-protocol"
version = "0.6.0"
authors = ["Steven Fackler <[email protected]>"]
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
edition = "2018"
description = "Low level Postgres protocol APIs"
license = "MIT/Apache-2.0"
repository = "https://github.com/sfackler/rust-postgres"
repository = "https://github.com/pimeys/rust-postgres"
readme = "../README.md"

[dependencies]
Expand Down
10 changes: 5 additions & 5 deletions postgres-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "postgres-types"
name = "prisma-postgres-types"
version = "0.2.0"
authors = ["Steven Fackler <[email protected]>"]
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
description = "Conversions between Rust and Postgres values"
repository = "https://github.com/sfackler/rust-postgres"
repository = "https://github.com/pimeys/rust-postgres"
readme = "../README.md"
keywords = ["database", "postgres", "postgresql", "sql"]
categories = ["database"]
Expand All @@ -23,8 +23,8 @@ with-time-0_2 = ["time-02"]
[dependencies]
bytes = "1.0"
fallible-iterator = "0.2"
postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
postgres-derive = { version = "0.4.0", optional = true, path = "../postgres-derive" }
prisma-postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
prisma-postgres-derive = { version = "0.4.0", optional = true, path = "../postgres-derive" }

bit-vec-06 = { version = "0.6", package = "bit-vec", optional = true }
chrono-04 = { version = "0.4.16", package = "chrono", default-features = false, features = ["clock"], optional = true }
Expand Down
9 changes: 3 additions & 6 deletions postgres/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "postgres"
name = "prisma-postgres"
version = "0.19.0"
authors = ["Steven Fackler <[email protected]>"]
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
description = "A native, synchronous PostgreSQL client"
Expand All @@ -17,9 +17,6 @@ harness = false
[package.metadata.docs.rs]
all-features = true

[badges]
circle-ci = { repository = "sfackler/rust-postgres" }

[features]
with-bit-vec-0_6 = ["tokio-postgres/with-bit-vec-0_6"]
with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
Expand All @@ -33,7 +30,7 @@ with-time-0_2 = ["tokio-postgres/with-time-0_2"]
bytes = "1.0"
fallible-iterator = "0.2"
futures = "0.3"
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres" }
prisma-tokio-postgres = { version = "0.7.0", path = "../tokio-postgres" }

tokio = { version = "1.0", features = ["rt", "time"] }
log = "0.4"
Expand Down
13 changes: 5 additions & 8 deletions tokio-postgres/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "tokio-postgres"
name = "prisma-tokio-postgres"
version = "0.7.0"
authors = ["Steven Fackler <[email protected]>"]
authors = ["Steven Fackler <[email protected]>", "Julius de Bruijn <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
description = "A native, asynchronous PostgreSQL client"
repository = "https://github.com/sfackler/rust-postgres"
repository = "https://github.com/pimeys/rust-postgres"
readme = "../README.md"
keywords = ["database", "postgres", "postgresql", "sql", "async"]
categories = ["database"]
Expand All @@ -20,9 +20,6 @@ harness = false
[package.metadata.docs.rs]
all-features = true

[badges]
circle-ci = { repository = "sfackler/rust-postgres" }

[features]
default = ["runtime"]
runtime = ["tokio/net", "tokio/time"]
Expand All @@ -46,8 +43,8 @@ parking_lot = "0.11"
percent-encoding = "2.0"
pin-project-lite = "0.2"
phf = "0.8"
postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
postgres-types = { version = "0.2.0", path = "../postgres-types" }
prisma-postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
prisma-postgres-types = { version = "0.2.0", path = "../postgres-types" }
socket2 = "0.3"
tokio = { version = "1.0", features = ["io-util"] }
tokio-util = { version = "0.6", features = ["codec"] }
Expand Down

0 comments on commit b37e66f

Please sign in to comment.