Files
sorsfonalak/services/backend/Cargo.toml
T
fecoandClaude Opus 5.5 86d5dc5503
CI / test (push) Successful in 44s
CI / build (push) Successful in 4m13s
CI / deploy (push) Skipped
Editable analysis prompts on the admin page
The system prompts of the free summary and the paid detailed analysis can be
edited per language under /admin/promptok. Every save is a new row in
prompt_revisions (NULL = built-in text); new analyses record the revision in
prompt_version (v2-r<id>) and the worker uses exactly that text. Existing
analyses stay; the cross-user cache only copies results of the same revision.

The prompt code moves to the shared analysis-prompt crate so the backend can
show the built-in text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-17 14:25:08 +00:00

36 lines
966 B
TOML

[package]
name = "backend"
description = "Sorsfonalak backend: users, login, charts, synastries, analyses, credits, sharing"
edition.workspace = true
version.workspace = true
license.workspace = true
publish.workspace = true
[dependencies]
db.workspace = true
analysis-prompt.workspace = true
horoscope-client.workspace = true
service-kit.workspace = true
anyhow.workspace = true
argon2.workspace = true
password-hash = { version = "0.5", features = ["getrandom"] }
axum.workspace = true
axum-extra.workspace = true
jsonwebtoken.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
sqlx.workspace = true
thiserror.workspace = true
time.workspace = true
tokio.workspace = true
tower-http.workspace = true
tracing.workspace = true
uuid.workspace = true
[dev-dependencies]
jsonwebtoken = { workspace = true, features = ["use_pem"] }
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"