#weather #sky #dark #api-client #api #hyper-client #reqwest-client

darksky

An unofficial Rust wrapper for the darksky.net API

5 unstable releases

Uses old Rust 2015

0.8.1 Mar 27, 2018
0.8.0 Jan 21, 2018
0.7.8 Jan 21, 2018
0.7.0 Dec 7, 2017
0.5.0 Oct 5, 2016

#2 in #reqwest-client

ISC license

62KB
685 lines

travis-badge license-badge docs-badge

darksky.rs

An unofficial Rust wrapper for the DarkSky API, supporting regular forecast requests, Time Machine requests, and the full set of reqest parameters and options.

Note: This package was previously named forecast_io. Due to a change in name, this package has been renamed to darksky, and can be found on crates.io by the same name.

Installation

Add the following dependency to your Cargo.toml:

darksky = "0.8"

And include it in your project:

extern crate darksky;

Features

  • hyper: Enables an implementation of the requester on hyper's Client (enabled by default).
  • reqwest: Enables an implementation of the requester on reqwest's Client.

License

License info can be found in the LICENSE.md file. Long story short, ISC.

Dependencies

~0.7–11MB
~137K SLoC