Refactor: Use doctate-common for shared logic

Moves shared types and utility functions to a new `doctate-common`
crate.
This includes:
- API key header constant
- AckResponse and AckStatus types
- Timestamp formatting and parsing utilities

This change centralizes common functionality, reducing duplication and
improving maintainability.
The `server` crate now depends on `doctate-common`.
This commit is contained in:
2026-04-17 15:25:11 +02:00
parent ed5047a3ff
commit a2c1ff49ac
6 changed files with 10 additions and 53 deletions
Generated
+1
View File
@@ -348,6 +348,7 @@ dependencies = [
"axum",
"axum-extra",
"bcrypt",
"doctate-common",
"dotenvy",
"pulldown-cmark",
"rand 0.8.6",