Files
tern-server/Cargo.toml
T
Mateusz PstruchaandClaude Opus 5 3e183b220c
CI / test (push) Successful in 2m31s
Release / image (push) Successful in 4m39s
Add .dockerignore and bump to 0.2.0
Without .dockerignore the build context included target/ — gigabytes
sent to the daemon before the build even starts, on a host where disk
has already been a constraint. Verified the image builds, runs
migrations and serves /healthz.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 22:13:32 +02:00

42 lines
1.1 KiB
TOML

[package]
name = "tern-server"
version = "0.2.0"
edition = "2021"
description = "Tern sync server — the only component that speaks IMAP/SMTP"
[dependencies]
tokio = { version = "1", features = ["full"] }
axum = { version = "0.7", features = ["macros"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["trace", "cors"] }
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-rustls", "postgres", "chrono", "uuid", "migrate"] }
async-imap = { version = "0.11", default-features = false, features = ["runtime-tokio"] }
async-native-tls = { version = "0.6", default-features = false, features = ["runtime-tokio"] }
mail-parser = "0.11"
mail-send = "0.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
argon2 = "0.5"
rand = "0.8"
chacha20poly1305 = "0.10"
base64 = "0.22"
sha2 = "0.10"
hex = "0.4"
thiserror = "2"
anyhow = "1"
dotenvy = "0.15"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
futures = "0.3"
[dev-dependencies]
tokio-test = "0.4"