# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "qweather-sdk" version = "0.4.0" authors = ["ZoOL "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Client SDK for QWeather API" homepage = "https://github.com/foxzool/qweather-sdk" documentation = "https://docs.rs/qweather-sdk" readme = "README.md" keywords = [ "sdk", "qweather", "rest", ] categories = ["api-bindings"] license = "Apache-2.0" repository = "https://github.com/foxzool/qweather-sdk" [lib] name = "qweather_sdk" path = "src/lib.rs" [[example]] name = "air_current" path = "examples/air-quality/air_current.rs" [[example]] name = "air_daily_forecast" path = "examples/air-quality/air_daily_forecast.rs" [[example]] name = "air_hourly_forecast" path = "examples/air-quality/air_hourly_forecast.rs" [[example]] name = "air_station" path = "examples/air-quality/air_station.rs" [[example]] name = "geo_city_lookup" path = "examples/geo_city_lookup.rs" [[example]] name = "geo_city_top" path = "examples/geo_city_top.rs" [[example]] name = "geo_poi_lookup" path = "examples/geo_poi_lookup.rs" [[example]] name = "geo_poi_range" path = "examples/geo_poi_range.rs" [[example]] name = "grid_weather_daily_forecast" path = "examples/grid_weather_daily_forecast.rs" [[example]] name = "grid_weather_hourly_forecast" path = "examples/grid_weather_hourly_forecast.rs" [[example]] name = "grid_weather_now" path = "examples/grid_weather_now.rs" [[example]] name = "indices_forecast" path = "examples/indices_forecast.rs" [[example]] name = "minutely_precipitation" path = "examples/minutely_precipitation.rs" [[example]] name = "storm_forecast" path = "examples/storm_forecast.rs" [[example]] name = "weather_daily_forecast" path = "examples/weather_daily_forecast.rs" [[example]] name = "weather_hourly_forecast" path = "examples/weather_hourly_forecast.rs" [[example]] name = "weather_now" path = "examples/weather_now.rs" [[example]] name = "weather_warning" path = "examples/weather_warning.rs" [[example]] name = "weather_warning_city_list" path = "examples/weather_warning_city_list.rs" [dependencies.chrono] version = "0.4.38" features = ["serde"] [dependencies.log] version = "0.4.22" [dependencies.md-5] version = "0.10.5" [dependencies.reqwest] version = "0.12" features = [ "json", "gzip", "rustls-tls", ] default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-aux] version = "4.5.0" [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1.0.61" [dependencies.tokio] version = "1.0" features = [ "net", "time", ] default-features = false [dev-dependencies.dotenvy] version = "0.15.7" [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] default-features = false