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;