Skip to content

Commit 8297832

Browse files
committed
Add TLS support for PostgreSQL connections
Add tls-rustls feature to sqlx for SSL/TLS database connections.
1 parent 48cb72f commit 8297832

2 files changed

Lines changed: 77 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 75 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "postgate"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
edition = "2024"
55
default-run = "postgate"
66
description = "Secure HTTP proxy for PostgreSQL with SQL validation and multi-tenant support"
@@ -23,7 +23,7 @@ actix-rt = { version = "2", optional = true }
2323
tokio = { version = "1", features = ["full"] }
2424

2525
# PostgreSQL
26-
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "json", "chrono", "uuid", "migrate"] }
26+
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "json", "chrono", "uuid", "migrate", "tls-rustls"] }
2727
uuid = { version = "1.19.0", features = ["serde", "v4"] }
2828

2929
# Date/Time

0 commit comments

Comments
 (0)