- 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
23 lines
896 B
Rust
23 lines
896 B
Rust
//! Natal chart calculation.
|
|
//!
|
|
//! The astronomical work is done by an [`Ephemeris`] implementation (currently
|
|
//! Swiss Ephemeris, see [`swiss::SwissEphemeris`]); everything astrological on
|
|
//! top of it (signs, houses, aspects, dignities, lots, summaries) lives in
|
|
//! [`chart`] and is independent of the engine, so the engine can be replaced
|
|
//! without touching the chart logic. [`synastry`] compares two charts.
|
|
|
|
pub mod angle;
|
|
pub mod chart;
|
|
pub mod engine;
|
|
pub mod synastry;
|
|
pub mod time;
|
|
pub mod types;
|
|
|
|
#[cfg(feature = "swisseph")]
|
|
pub mod swiss;
|
|
|
|
pub use chart::{ChartInput, ChartOptions, NatalChart, calculate_chart};
|
|
pub use engine::{BodyState, EngineError, Ephemeris, EphemerisInfo, Frame, GeoPosition, HouseResult, Obliquity};
|
|
pub use synastry::{Synastry, calculate_synastry};
|
|
pub use types::{AspectSet, Ayanamsa, Body, HouseSystem, LilithType, NodeType, ZodiacSign, ZodiacType};
|