Skip to content

Commit f4897ca

Browse files
committed
TEMP: use patched sqlx
We would like to use the underlying connection from the PgListener, which was added in a patch, but not yet merged or released.
1 parent 2801285 commit f4897ca

File tree

3 files changed

+15
-39
lines changed

3 files changed

+15
-39
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,10 @@ rayon.opt-level = 3
338338
regalloc2.opt-level = 3
339339
sha2.opt-level = 3
340340
sqlx-macros.opt-level = 3
341+
342+
[patch.crates-io]
343+
sqlx = { git = "https://github.com/launchbadge/sqlx.git", branch = "main" }
344+
sqlx-core = { git = "https://github.com/launchbadge/sqlx.git", branch = "main" }
345+
sqlx-macros = { git = "https://github.com/launchbadge/sqlx.git", branch = "main" }
346+
sqlx-macros-core = { git = "https://github.com/launchbadge/sqlx.git", branch = "main" }
347+
sqlx-postgres = { git = "https://github.com/launchbadge/sqlx.git", branch = "main" }

deny.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ deny = ["oldtime"]
8888
unknown-registry = "warn"
8989
unknown-git = "warn"
9090
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
91-
allow-git = []
91+
allow-git = ["https://github.com/launchbadge/sqlx.git"]

0 commit comments

Comments
 (0)