Documentation

sun

A rust port of the JS library suncalc.

Unstall

Add the following to your Cargo.toml

[dependencies]
sun = "0.1.0"

Usage

extern crate sun;

pub fn main() {
  let pos = sun::get_pos();
  println!(pos);
}