# 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 = "2018" name = "weather_util_rust" version = "0.16.16" authors = ["Daniel Boline "] exclude = [ ".github/*", ".gitignore", "scripts/*.sh", "Dockerfile*", "Makefile", ] description = "CLI tool to pull weather data from openweathermap.org, intended to replace the debian package weather-util" homepage = "https://github.com/ddboline/weather_util_rust" readme = "README.md" keywords = ["WEATHER"] license-file = "LICENSE" repository = "https://github.com/ddboline/weather_util_rust" [[bin]] name = "weather-util-rust" path = "src/main.rs" doc = false [[bench]] name = "weather_benchmark" harness = false [dependencies.clap] version = "4.1" features = ["derive"] optional = true [dependencies.derive_more] version = "0.99" [dependencies.dirs] version = "5.0" [dependencies.dotenvy] version = "0.15" [dependencies.envy] version = "0.4" [dependencies.futures] version = "0.3" [dependencies.isocountry] version = "0.3" [dependencies.log] version = "0.4" [dependencies.nutype] version = "0.4" features = ["serde"] [dependencies.once_cell] version = "1.0" [dependencies.parking_lot] version = "0.12" [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls", "gzip", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.stack-string] version = "0.8" optional = true [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" features = [ "serde-human-readable", "macros", ] [dependencies.tokio] version = "1.37" features = [ "io-std", "rt", "macros", "rt-multi-thread", ] optional = true [dependencies.url] version = "2.3" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.approx] version = "0.5" [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.predicates] version = "3.0" [dev-dependencies.tempfile] version = "3.3" [features] cli = [ "reqwest", "tokio", "clap", ] default = [ "cli", "stackstring", ] stackstring = ["stack-string"]