Add diesel-async

Make appropriate feature flag changes to other diesel dependencies
This commit is contained in:
2026-06-23 22:01:22 -04:00
parent 81d8a96d59
commit 91c79d124a
2 changed files with 326 additions and 32 deletions

View File

@@ -10,8 +10,9 @@ build = "src/build.rs"
[dependencies]
config = { version = "0.15.24", optional = true }
diesel = { version = "2.3.10", optional = true, features = [ "postgres" ] }
diesel_migrations = { version = "2.3.2", optional = true, features = [ "postgres" ] }
diesel = { version = "2.3.10", optional = true }
diesel-async = { version = "0.9.1", optional = true, features = ["postgres", "deadpool", "migrations"] }
diesel_migrations = { version = "2.3.2", optional = true }
dioxus = { version = "0.7.9", features = ["router", "fullstack"] }
dotenvy = { version = "0.15.7", optional = true }
lucide-dioxus = { version = "3.11.0", features = ["notifications"] }
@@ -28,6 +29,7 @@ server = [
"dioxus/server",
"dep:config",
"dep:diesel",
"dep:diesel-async",
"dep:diesel_migrations",
"dep:dotenvy",
"dep:tokio",