moontime

Crates.iomoontime
lib.rsmoontime
version0.2.1
sourcesrc
created_at2024-02-08 17:59:07.054067
updated_at2024-02-08 17:59:07.054067
descriptionA simple serverless NAIF SPICE lookup server
homepagehttps://space.jodavaho.io
repositoryhttps://github.com/jodavaho/moontime
max_upload_size
id1132426
size84,600
Josh Vander Hook (jodavaho)

documentation

README

Moon Time

What time is it where CADRE will land?

Uses - rust-spice And - NAIF giant shoulders See - https://api.jodavaho.io/s/readme

Try it out:

curl https://api.jodavaho.io/s/cadre/solartime

And for a complete list:

curl https://api.jodavaho.io/s/readme

Building

The endpoint won't build with just Cargo, due to the legendary openssl problem on aws lambda.

But there's a quick fix.

Download spice C toolkit.

build as

CSPICE_DIR=~/blah cargo build

Running

This being built on SPICE, you'll need the most up to date datasets on solar system emphemeris. The list of kernels to find is in src/main.rs, and you can get them via the naif website above. They should be placed in data/, and are not included here because they are massive.

Commit count: 0

cargo fmt