Files
sorsfonalak/crates/astro-engine/src/lib.rs
T
fecoandClaude Opus 5.5 f1bd34c394
CI / test (push) Successful in 56s
CI / build (push) Successful in 4m41s
CI / deploy (push) Skipped
Yearly forecast: solar return, transits, progressions, profection, eclipses
- astro-engine: forecast module (solar return moment, slow-planet transits
  with exact dates and periods, natal house ingresses, secondary
  progressions, annual profection, eclipses via Swiss Ephemeris)
- horoscope-api: POST /v1/forecast, solar return chart cast for the place
  of the birthday
- backend: forecasts table, /v1/charts/{id}/forecasts, /v1/forecasts/{id}
  and its analyses using a new 'forecast' unit; current year of life open,
  the next one 30 days before the birthday
- packages: Páros and Család include forecasts (6 000 / 11 000 Ft),
  +1 éves előrejelzés add-on 2 500 Ft; Egy elemzés unchanged
- worker and prompt: forecast kind with five sections and forecast rules
  (trends, no event predictions); no birth data, place or exact age sent
- frontend: /kepletek/{id}/elorejelzes with the solar return wheel, the
  keys of the year, a monthly timeline, transit list and detailed forecast
- data export: forecasts added, model name removed

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

30 lines
1.1 KiB
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;
//! [`forecast`] looks at one year of a chart (solar return, transits,
//! progressions, profection, eclipses).
pub mod angle;
pub mod chart;
pub mod engine;
pub mod forecast;
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, EclipseEvent, EclipseKind, EclipseType, EngineError, Ephemeris, EphemerisInfo, Frame, GeoPosition,
HouseResult, Obliquity,
};
pub use forecast::{Forecast, calculate_forecast, solar_return};
pub use synastry::{Synastry, calculate_synastry};
pub use types::{AspectSet, Ayanamsa, Body, HouseSystem, LilithType, NodeType, ZodiacSign, ZodiacType};