weather-rs

Crates.ioweather-rs
lib.rsweather-rs
version1.1.0
sourcesrc
created_at2022-05-29 20:25:32.549008
updated_at2023-01-02 22:53:25.242591
descriptionA CLI weather application
homepage
repositoryhttps://github.com/Clay-6/Weather-Rs
max_upload_size
id596656
size142,994
Clay (Clay-6)

documentation

README

Weather-Rs

Simple command line application to fetch weather data from openweathermap.org's API

Usage

  1. Install the app with whichever method you prefer.
  2. Set an environment variable for your API key. By default it will search for the name WEATHER_API_KEY. Alternatively, you can use a specific API key by using config --api-key to store a specific key or --use-key to use a key for one session
  3. Run the program & enter the name of the location you want to get the info for.

Installation

Through Cargo

Make sure you have rustup installed & the latest stable Rust version. Then, run the command

cargo install weather-rs

to install.

Windows Installer

Download the installer from the latest GitHub release and run it. All necessary changes to your PATH will be made by the installer.

Manual

Download the executable from the latest GitHub release and place it somewhere on your PATH

Building from Source

Ensure you have the latest stable Rust version installed through rustup then git clone the repo & cd into it. Then, run cargo build for a debug build, or cargo build --release for a release build.

Commit count: 50

cargo fmt