rsspice
Pure Rust port of the SPICE Toolkit for space geometry.
This implementation is fully memory-safe and thread-safe, and does not depend on any external C/FORTRAN libraries. It provides nearly the entire SPICELIB API. The code has been mechanically translated from the FORTRAN version of the SPICE Toolkit into Rust.
It is completely unofficial, unsupported, and not heavily tested (though it does pass the Toolkit's regression tests so it's probably not too bad). Use at your own risk.
Users of this library should not expect any support from NAIF. Use the GitHub project for any issues or queries.
Usage example
use *;
const TIMFMT: &str = "YYYY MON DD HR:MN:SC.###### (TDB)::TDB";
const MAXWIN: usize = 2 * 100;
// Find solar eclipses as seen from the center of the Earth.
See more examples and lessons.
For more details, see the documentation.