weathervane
Weather, air quality, and alerts from public APIs — as clean Rust types. The engine behind Tempest, pulled into a crate.
You call the async functions, you get back clean Rust types. That's it. Weathervane fetches the data, parses the responses, handles unit conversions, and gets out of the way. No UI dependencies. No polling. No timers. No config storage. The frontend owns all of that.
Open-Meteo by default, no key required. Inside Japan it swaps the current temperature for the nearest JMA AMeDAS station, because Open-Meteo runs a few degrees cold there. Air quality can use a free aqicn.org token outside Europe; pollutant concentrations always come from Open-Meteo so the µg/m³ contract stays honest. Pollen is Europe-only — six species, by way of CAMS.
It came out of Tempest in 2.6.0: roughly 1,700 lines moved out of the applet tree so the data layer could stand on its own and be tested without a GUI attached.
cargo add weathervane links
- crates.io
- crates.io/crates/weathervane
- source
- gitlab.com/vintagetechie
- used by
- tempest