| Crates.io | rhorizons |
| lib.rs | rhorizons |
| version | 0.5.0 |
| created_at | 2022-08-20 15:29:18.624405+00 |
| updated_at | 2023-07-18 21:08:48.135504+00 |
| description | Access NASA JPL Horizons system. Get Solar System bodies, their positions and velocities. |
| homepage | |
| repository | https://github.com/podusowski/rhorizons |
| max_upload_size | |
| id | 649372 |
| size | 82,120 |
Access NASA JPL Horizons system from Rust. This crate is written in asynchronous
code, therefore you probably want to use it in conjunction with tokio.
#[tokio::main]
async fn main() {
println!("Major bodies in the Solar System.");
for body in rhorizons::major_bodies().await {
println!("{} ({})", body.name, body.id);
}
}
You can check more examples in the source repository.