Files
sorsfonalak/crates/astro-engine/src/lib.rs
T

23 lines
896 B
Rust
Raw Normal View History

//! 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};