supernovas-sys 0.1.0

Rust FFI bindings to the supernovas library for astronomical computations.
1
2
3
4
5
6
7
8
use supernovas_sys as sn;

fn main() {
    unsafe  {
        sn::novas_use_cspice();
        sn::cspice_add_kernel(std::env::var("EPH_DE405").unwrap().as_ptr() as *const i8);
    }
}