5 releases (breaking)
0.5.0 | Jul 18, 2023 |
---|---|
0.4.0 | Jul 9, 2023 |
0.3.0 | Aug 25, 2022 |
0.2.0 | Aug 21, 2022 |
0.1.0 | Aug 20, 2022 |
#6 in #nasa
34KB
598 lines
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
.
Example
#[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.
Useful links
Dependencies
~7–19MB
~268K SLoC