1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! # astrogram
//!
//! Astrology data-format conversion library.
//!
//! `astrogram` reduces transcription errors when moving chart data between
//! astrology platforms. It reads structured chart exports from one platform
//! and writes them in the format expected by another, removing the manual
//! copy-paste step where mistakes happen.
//!
//! ## Supported formats
//!
//! - **Read:** Solar Fire `.SFcht` binary, Astrodatabank XML,
//! AAF (Astrolog Ascii Format), Zeus `.zdb`.
//! - **Write:** Solar Fire `.SFcht` binary, Astrodatabank XML, Zeus `.zdb`.
//! - **Extract** (authenticated web): `lunaastrology.com`, `astro.com`.
//!
//! Deferred formats (Quick\*Chart, Solar Fire text export, `JZOD`,
//! `Nechepso`, `TimeCycles`, SQL/`SQLite`) and additional extractors are
//! tracked in `docs/backlog.md` at the repository root.
//!
//! ## Canonical chart type
//!
//! [`chart::Chart`] is the in-memory representation every reader produces and
//! every writer consumes. Sign-convention mismatches between formats (Solar
//! Fire's `+West` longitude vs. ISO 6709's `+East`, etc.) are resolved at the
//! format boundary — never inside `Chart`.
//!
//! ## Format specifications
//!
//! Authoritative format docs and a Kaitai Struct definition for `.SFcht`
//! are in the `research/` directory at the repository root (symlinked from
//! the external research archive). Reference Python prototypes live there
//! too; treat them as oracles, not as source material to transliterate.
/// AAF (Astrolog Ascii Format) parser.
/// astro.com HTTP API helpers.