core: bump sqlx from 0.8.6 to 0.9.0 (#22754)

Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
dependabot[bot]
2026-06-17 12:27:24 +00:00
committed by GitHub
parent ca2cf8164a
commit a321c69eb5
3 changed files with 179 additions and 367 deletions
Generated
+176 -364
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -83,7 +83,7 @@ serde_repr = "= 0.1.20"
serde_with = { version = "= 3.21.0", default-features = false, features = [
"base64",
] }
sqlx = { version = "= 0.8.6", default-features = false, features = [
sqlx = { version = "= 0.9.0", default-features = false, features = [
"runtime-tokio",
"tls-rustls-aws-lc-rs",
"postgres",
+2 -2
View File
@@ -2,7 +2,7 @@ use std::{str::FromStr as _, sync::OnceLock, time::Duration};
use eyre::Result;
use sqlx::{
ConnectOptions as _, Executor as _, PgConnection, PgPool,
AssertSqlSafe, ConnectOptions as _, Executor as _, PgConnection, PgPool,
postgres::{PgConnectOptions, PgPoolOptions, PgSslMode},
};
use tokio::fs::read_to_string;
@@ -85,7 +85,7 @@ pub async fn init(tasks: &mut Tasks) -> Result<()> {
"SET application_name = '{application_name}'; SET search_path = \
'{default_schema}';"
);
conn.execute(query.as_str()).await?;
conn.execute(AssertSqlSafe(query)).await?;
Ok(())
})
});