examples: Update to diesel-async 0.7 (#3518)

This commit is contained in:
tottoto
2025-10-06 23:58:01 +09:00
committed by GitHub
parent ac4ba7b63a
commit a847c60937
3 changed files with 123 additions and 33 deletions
+3 -2
View File
@@ -6,8 +6,9 @@ publish = false
[dependencies]
axum = { path = "../../axum", features = ["macros"] }
diesel = "2"
diesel-async = { version = "0.6", features = ["postgres", "bb8"] }
diesel = "~2.3"
diesel-async = { version = "0.7", features = ["postgres", "bb8", "migrations"] }
diesel_migrations = "~2.3"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"