Add a binary that uses a Postgres backend

Building of this binary is controlled with features, allowing downstream
users to build just the SQLite version and not be concerned with the
tokio-postgres dependency tree (which includes links to OpenSSL and
other details). The Postgres version is disabled by default.

This does not change the binary name for the SQLite build, just to avoid
confusion for people upgrading to the new version.
This commit is contained in:
Dustin J. Mitchell
2025-07-14 19:36:08 -04:00
parent 6e8c72b543
commit c445ac475a
15 changed files with 579 additions and 446 deletions

1
Cargo.lock generated
View File

@ -1863,6 +1863,7 @@ dependencies = [
"serde",
"serde_json",
"taskchampion-sync-server-core",
"taskchampion-sync-server-storage-postgres",
"taskchampion-sync-server-storage-sqlite",
"temp-env",
"tempfile",