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
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright (C) 2026 Vallés Puig, Ramon
//! High-level SPICE kernel context for astronomical and spacecraft geometry.
//!
//! ## Scientific scope
//!
//! This module provides the user-facing SPICE context for ephemeris state
//! queries, frame registration, limited frame rotation composition, and basic
//! time-offset support backed by SPICE kernels.
//!
//! ## Technical scope
//!
//! Layers `formats::spice` parsers into a loadable kernel set with segment
//! priority rules. Supports SPK states, Type 2 binary PCK orientation and
//! fixed FK frame composition. [`LunarObserver`] combines these for explicit
//! geometric lunar surface observations. Text PCK, LSK, SCLK, CK and IK
//! metadata also remain available; this is not a full SPICE implementation.
//!
//! ## References
//!
//! - NAIF SPICE Overview: <https://naif.jpl.nasa.gov/naif/aboutspice.html>
//! - NAIF. *Kernel Required Reading*.
pub use SpiceContext;
pub use SpiceContextError;
pub use FrameRegistry;
pub use KernelSet;
pub use ;