feat: Implement conditional compilation for SQLite and Postgres database backends using Cargo features.

This commit is contained in:
2025-12-25 22:53:51 +01:00
parent b53dbf2ea8
commit 19e16a09f8
6 changed files with 114 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ default-run = "notes-api"
[dependencies]
notes-domain = { path = "../notes-domain" }
notes-infra = { path = "../notes-infra" }
notes-infra = { path = "../notes-infra", features = ["sqlite"] }
# Web framework
axum = { version = "0.8.8", features = ["macros"] }