From b97de3769800b3d89ee7f1492771822f71300522 Mon Sep 17 00:00:00 2001 From: Candifloss Date: Thu, 9 Oct 2025 12:33:16 +0530 Subject: [PATCH] Rename module `weather` to current - Also update the change in `weatherd` and widget --- owm_api25/src/{weather.rs => current.rs} | 0 owm_api25/src/lib.rs | 2 +- weatherd/src/main.rs | 2 +- widget/src/main.rs | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename owm_api25/src/{weather.rs => current.rs} (100%) diff --git a/owm_api25/src/weather.rs b/owm_api25/src/current.rs similarity index 100% rename from owm_api25/src/weather.rs rename to owm_api25/src/current.rs diff --git a/owm_api25/src/lib.rs b/owm_api25/src/lib.rs index 2034688..a36386e 100644 --- a/owm_api25/src/lib.rs +++ b/owm_api25/src/lib.rs @@ -1,3 +1,3 @@ pub mod forecast; pub mod query; -pub mod weather; +pub mod current; diff --git a/weatherd/src/main.rs b/weatherd/src/main.rs index bc58a38..372fe69 100644 --- a/weatherd/src/main.rs +++ b/weatherd/src/main.rs @@ -1,4 +1,4 @@ -use owm_api25::weather::WeatherResponse; +use owm_api25::current::WeatherResponse; use owm_widg_config::config::Config; use reqwest::blocking; use std::error::Error; diff --git a/widget/src/main.rs b/widget/src/main.rs index bca7353..95b2aab 100644 --- a/widget/src/main.rs +++ b/widget/src/main.rs @@ -1,4 +1,4 @@ -use owm_api25::weather::WeatherResponse; +use owm_api25::current::WeatherResponse; use owm_widg_config::config::Config; use reqwest::blocking; use std::fs;