sqlx: update dependency and protect against injections

This commit is contained in:
Valentin Tolmer
2022-03-22 20:45:59 +01:00
committed by nitnelave
parent bafb1dc5cc
commit 5e2eea0d97
10 changed files with 496 additions and 309 deletions
+8 -4
View File
@@ -34,7 +34,7 @@ native-tls = "0.2.10"
serde = "*"
serde_json = "1"
sha2 = "0.9"
sqlx-core = "=0.5.1"
sqlx-core = "0.5.11"
thiserror = "*"
time = "0.2"
tokio = { version = "1.13.1", features = ["full"] }
@@ -64,7 +64,7 @@ features = [
]
[dependencies.sqlx]
version = "0.5.1"
version = "0.5.11"
features = [
"any",
"chrono",
@@ -76,8 +76,12 @@ features = [
]
[dependencies.sea-query]
version = "0.9.4"
features = ["with-chrono"]
version = "^0.25"
features = ["with-chrono", "sqlx-sqlite"]
[dependencies.sea-query-binder]
version = "*"
features = ["with-chrono", "sqlx-sqlite", "sqlx-any"]
[dependencies.figment]
features = ["env", "toml"]