feat: Implement database factory and abstract session store for multi-database support, centralizing service creation in main.rs.
This commit is contained in:
@@ -7,13 +7,10 @@ edition = "2024"
|
||||
notes-domain = { path = "../notes-domain" }
|
||||
async-trait = "0.1.89"
|
||||
chrono = { version = "0.4.42", features = ["serde"] }
|
||||
sqlx = { version = "0.8.6", features = [
|
||||
"sqlite",
|
||||
"runtime-tokio",
|
||||
"chrono",
|
||||
"migrate",
|
||||
] }
|
||||
sqlx = { version = "0.8.6", features = ["sqlite", "runtime-tokio", "chrono", "migrate", "postgres"] }
|
||||
thiserror = "2.0.17"
|
||||
tokio = { version = "1.48.0", features = ["full"] }
|
||||
tracing = "0.1"
|
||||
uuid = { version = "1.19.0", features = ["v4", "serde"] }
|
||||
tower-sessions = "0.14.0"
|
||||
tower-sessions-sqlx-store = { version = "0.15.0", features = ["sqlite", "postgres"] }
|
||||
|
||||
Reference in New Issue
Block a user