Add horoscope-api, synastry, and backend services
- horoscope-api: Swiss Ephemeris natal charts, timezone/place resolution, POST /v1/natal and POST /v1/synastry - backend: users with roles, email/password and Google login, saved charts, synastries and invites, analyses with credit ledger, public shares, admin - shared crates: astro-engine, db (migrations), horoscope-client, service-kit - docker-compose with postgres, legacy Java project for reference Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
+53
@@ -0,0 +1,53 @@
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = [
|
||||
"crates/swisseph-sys",
|
||||
"crates/astro-engine",
|
||||
"crates/geo-tz",
|
||||
"crates/service-kit",
|
||||
"crates/db",
|
||||
"crates/horoscope-client",
|
||||
"services/horoscope-api",
|
||||
"services/backend",
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
edition = "2024"
|
||||
version = "0.1.0"
|
||||
license = "AGPL-3.0-or-later"
|
||||
publish = false
|
||||
|
||||
[workspace.dependencies]
|
||||
swisseph-sys = { path = "crates/swisseph-sys" }
|
||||
astro-engine = { path = "crates/astro-engine" }
|
||||
geo-tz = { path = "crates/geo-tz" }
|
||||
service-kit = { path = "crates/service-kit" }
|
||||
db = { path = "crates/db" }
|
||||
horoscope-client = { path = "crates/horoscope-client" }
|
||||
|
||||
anyhow = "1"
|
||||
argon2 = { version = "0.5", features = ["std"] }
|
||||
axum = "0.8"
|
||||
axum-extra = { version = "0.10", features = ["cookie"] }
|
||||
base64 = "0.22"
|
||||
jsonwebtoken = { version = "9", default-features = false }
|
||||
rand = "0.9"
|
||||
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
||||
sha2 = "0.10"
|
||||
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "postgres", "macros", "migrate", "uuid", "time", "json"] }
|
||||
time = { version = "0.3", features = ["serde-well-known"] }
|
||||
uuid = { version = "1", features = ["v7", "serde"] }
|
||||
deunicode = "1"
|
||||
jiff = { version = "0.2", default-features = false, features = ["std", "tzdb-zoneinfo", "tz-fat"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
thiserror = "2"
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "signal"] }
|
||||
tower-http = { version = "0.6", features = ["trace", "cors"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
Reference in New Issue
Block a user