Skip to content

Commit 9a59857

Browse files
committed
chore!: upgrade sqlx
BREAKING CHANGE: `sqlx` 0.7 is no longer supported.
1 parent 28db0ca commit 9a59857

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ futures-core = "0.3"
3232
http = "1"
3333
http-body = "1"
3434
parking_lot = { version = "0.12", features = ["arc_lock", "send_guard"] }
35-
sqlx = { version = "0.7", default-features = false }
35+
sqlx = { version = "0.8", default-features = false }
3636
thiserror = "1"
3737
tower-layer = "0.3"
3838
tower-service = "0.3"

src/tx.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,7 @@ where
232232
self,
233233
sql: &'q str,
234234
parameters: &'e [<Self::Database as sqlx::Database>::TypeInfo],
235-
) -> BoxFuture<
236-
'e,
237-
Result<<Self::Database as sqlx::database::HasStatement<'q>>::Statement, sqlx::Error>,
238-
>
235+
) -> BoxFuture<'e, Result<<Self::Database as sqlx::Database>::Statement<'q>, sqlx::Error>>
239236
where
240237
'c: 'e,
241238
{

0 commit comments

Comments
 (0)