Rename module weather to current

- Also update the change in `weatherd` and widget
This commit is contained in:
Candifloss 2025-10-09 12:33:16 +05:30
parent a70e85e58f
commit b97de37698
4 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
pub mod forecast; pub mod forecast;
pub mod query; pub mod query;
pub mod weather; pub mod current;

View File

@ -1,4 +1,4 @@
use owm_api25::weather::WeatherResponse; use owm_api25::current::WeatherResponse;
use owm_widg_config::config::Config; use owm_widg_config::config::Config;
use reqwest::blocking; use reqwest::blocking;
use std::error::Error; use std::error::Error;

View File

@ -1,4 +1,4 @@
use owm_api25::weather::WeatherResponse; use owm_api25::current::WeatherResponse;
use owm_widg_config::config::Config; use owm_widg_config::config::Config;
use reqwest::blocking; use reqwest::blocking;
use std::fs; use std::fs;