Skip to content

Commit 3ee2ab1

Browse files
committed
switch rust-postgres dependency to forked version
Needed until rust-postgres/rust-postgres#752 is merged and released Signed-off-by: Petros Angelatos <[email protected]>
1 parent b3edefe commit 3ee2ab1

File tree

19 files changed

+41
-44
lines changed

19 files changed

+41
-44
lines changed

Cargo.lock

Lines changed: 7 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/billing/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ hex = "0.4.3"
1717
log = "0.4.13"
1818
ore = { path = "../../src/ore" }
1919
parse_duration = "2.1.1"
20-
postgres-types = "0.2.0"
20+
postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres" }
2121
protobuf = "2.17.0"
2222
rand = "0.8.3"
2323
rand_distr = "0.4.0"
2424
structopt = "0.3.21"
2525
test-util = { path = "../../test/test-util" }
2626
tokio = "1.4.0"
27-
tokio-postgres = "0.7.1"
27+
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
2828
uuid = { version = "0.8.2", features = ["v4"] }
2929

3030
[build-dependencies]

deny.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ unknown-git = "deny"
6262
unknown-registry = "deny"
6363
allow-git = [
6464
"https://github.com/MaterializeInc/pubnub-rust.git",
65+
# Until https://github.com/sfackler/rust-postgres/pull/752 is merged and released
66+
"https://github.com/MaterializeInc/rust-postgres.git",
67+
"https://github.com/MaterializeInc/rust-postgres-array.git",
6568
"https://github.com/MaterializeInc/rust-prometheus.git",
6669
"https://github.com/MaterializeInc/serde-protobuf.git",
6770
"https://github.com/TimelyDataflow/timely-dataflow",

src/coord/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ log = "0.4.13"
2828
mz-avro = { path = "../avro", features = ["snappy"] }
2929
ore = { path = "../ore" }
3030
pgrepr = { path = "../pgrepr" }
31-
postgres-types = "0.2.0"
31+
postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres" }
3232
prometheus = { git = "https://github.com/MaterializeInc/rust-prometheus.git", default-features = false }
3333
rand = "0.8.3"
3434
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "libz-static"] }
@@ -44,7 +44,7 @@ storage = { path = "../storage" }
4444
symbiosis = { path = "../symbiosis" }
4545
timely = { git = "https://github.com/TimelyDataflow/timely-dataflow", default-features = false, features = ["bincode"] }
4646
tokio = "1.4.0"
47-
tokio-postgres = "0.7.1"
47+
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
4848
tokio-stream = "0.1.5"
4949
transform = { path = "../transform" }
5050
unicase = "2.6.0"

src/materialized/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ itertools = "0.9.0"
105105
kafka-util = { path = "../kafka-util" }
106106
pgrepr = { path = "../pgrepr" }
107107
pgtest = { path = "../pgtest" }
108-
postgres = { version = "0.19.0", features = ["with-chrono-0_4"] }
109-
postgres-openssl = "0.5.0"
110-
postgres-protocol = "0.6.1"
111-
postgres_array = "0.11.0"
108+
postgres = { git = "https://github.com/MaterializeInc/rust-postgres", features = ["with-chrono-0_4"] }
109+
postgres-openssl = { git = "https://github.com/MaterializeInc/rust-postgres" }
110+
postgres-protocol = { git = "https://github.com/MaterializeInc/rust-postgres" }
111+
postgres_array = { git = "https://github.com/MaterializeInc/rust-postgres-array" }
112112
predicates = "1.0.7"
113113
repr = { path = "../repr" }
114114
reqwest = { version = "0.11.2", features = ["blocking"] }
115115
serde_json = "1.0.64"
116-
tokio-postgres = { version = "0.7.1", features = ["with-chrono-0_4"] }
116+
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres", features = ["with-chrono-0_4"] }
117117

118118
[build-dependencies]
119119
anyhow = "1.0.40"

src/peeker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ log = "0.4.13"
1414
mz-process-collector = { path = "../mz-process-collector" }
1515
ore = { path = "../ore" }
1616
parse_duration = "2.1.1"
17-
postgres = "0.19.0"
17+
postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
1818
prometheus = { git = "https://github.com/MaterializeInc/rust-prometheus.git", default-features = false }
1919
regex = "1.4.5"
2020
serde = { version = "1.0.125", features = ["derive"] }

src/pgrepr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ chrono = { version = "0.4.0", default-features = false, features = ["std"] }
1212
dec = "0.3.3"
1313
lazy_static = "1.4.0"
1414
ore = { path = "../ore" }
15-
postgres-types = { version = "0.2.0", features = ["with-chrono-0_4", "with-uuid-0_8"] }
15+
postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres", features = ["with-chrono-0_4", "with-uuid-0_8"] }
1616
repr = { path = "../repr" }
1717
uuid = "0.8.2"

src/pgtest/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ bytes = "1.0.1"
1111
datadriven = "0.5.0"
1212
fallible-iterator = "0.2.0"
1313
ore = { path = "../ore" }
14-
postgres = "0.19.0"
15-
postgres-protocol = "0.6.1"
14+
postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
15+
postgres-protocol = { git = "https://github.com/MaterializeInc/rust-postgres" }
1616
serde = { version = "1.0.125", features = ["derive"] }
1717
serde_json = "1.0.64"
1818
structopt = "0.3.21"

src/pgwire/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ openssl = { version = "0.10.33", features = ["vendored"] }
2222
ordered-float = { version = "2.1.1", features = ["serde"] }
2323
ore = { path = "../ore" }
2424
pgrepr = { path = "../pgrepr" }
25-
postgres = "0.19.0"
25+
postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
2626
prometheus = { git = "https://github.com/MaterializeInc/rust-prometheus.git", default-features = false }
2727
repr = { path = "../repr" }
2828
sql = { path = "../sql" }

src/sql/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mz-avro = { path = "../avro", features = ["snappy"] }
2525
ore = { path = "../ore" }
2626
parse_duration = "2.1.1"
2727
pgrepr = { path = "../pgrepr" }
28-
postgres-types = { version = "0.2.0", features = ["with-chrono-0_4", "with-uuid-0_8"] }
28+
postgres-types = { git = "https://github.com/MaterializeInc/rust-postgres", features = ["with-chrono-0_4", "with-uuid-0_8"] }
2929
rdkafka = { git = "https://github.com/fede1024/rust-rdkafka.git", features = ["cmake-build", "ssl-vendored", "gssapi-vendored", "libz-static"] }
3030
regex = "1.4.5"
3131
repr = { path = "../repr" }
@@ -35,7 +35,7 @@ serde = { version = "1.0.125", features = ["derive"] }
3535
serde_json = "1.0.64"
3636
sql-parser = { path = "../sql-parser" }
3737
tokio = { version = "1.4.0", features = ["fs"] }
38-
tokio-postgres = "0.7.1"
38+
tokio-postgres = { git = "https://github.com/MaterializeInc/rust-postgres" }
3939
unicase = "2.6.0"
4040
url = "2.2.1"
4141
uuid = { version = "0.8.2", features = ["serde", "v4"] }

0 commit comments

Comments
 (0)