Skip to content

Commit 2e1ba6c

Browse files
committed
fixup
- trim dependency tree - use `postgres-native-tls` - add ssl option with no extra certificate - dry up some code
1 parent 127ba60 commit 2e1ba6c

File tree

6 files changed

+172
-101
lines changed

6 files changed

+172
-101
lines changed

rust/Cargo.lock

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

rust/impls/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ tokio-postgres = { version = "0.7.12", features = ["with-chrono-0_4"] }
1111
bb8-postgres = "0.7"
1212
bytes = "1.4.0"
1313
tokio = { version = "1.38.0", default-features = false }
14-
openssl = "0.10.75"
15-
postgres-openssl = "0.5.2"
14+
native-tls = { version = "0.2.14", default-features = false }
15+
postgres-native-tls = { version = "0.5.2", default-features = false, features = ["runtime"] }
1616

1717
[dev-dependencies]
1818
tokio = { version = "1.38.0", default-features = false, features = ["rt-multi-thread", "macros"] }

0 commit comments

Comments
 (0)