mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-04-05 09:10:35 +00:00
This includes: - Building a Docker image for Postgres as well as SQLite - Fuller instructions for usage of the package, including the Postgres builds. A few related things changed here: - `.env` is not used anymore -- the defaults in the Dockerfiles are sufficient - The Rust version in the Dockerfiles is increased to match the MSRV, and with it the Alpine version bumped to one built with that Rust version. - Cargo dependencies on native-tls and openssl updated to include only the `vendored` feature, so as not to require a system openssl installation. - Two GitHub jobs are set up, to build the two different Docker images - The documentation incorrectly suggested using `DELETE .. CASCADE` to delete clients. This syntax does not exist, as the cascading delete is configured in the schema.
31 lines
921 B
TOML
31 lines
921 B
TOML
[package]
|
|
name = "taskchampion-sync-server-storage-postgres"
|
|
version = "0.7.0-pre"
|
|
authors = ["Dustin J. Mitchell <dustin@v.igoro.us>"]
|
|
edition = "2021"
|
|
description = "Postgres backend for TaskChampion-sync-server"
|
|
homepage = "https://github.com/GothenburgBitFactory/taskchampion"
|
|
repository = "https://github.com/GothenburgBitFactory/taskchampion-sync-server"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
bb8-postgres.workspace = true
|
|
bb8.workspace = true
|
|
chrono.workspace = true
|
|
env_logger.workspace = true
|
|
log.workspace = true
|
|
taskchampion-sync-server-core = { path = "../core", version = "0.7.0-pre" }
|
|
thiserror.workspace = true
|
|
tokio-postgres.workspace = true
|
|
tokio.workspace = true
|
|
uuid.workspace = true
|
|
openssl.workspace = true
|
|
native-tls.workspace = true
|
|
postgres-native-tls.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
pretty_assertions.workspace = true
|