# 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.18" authors = ["Daniel Boline "] build = false exclude = [ ".github/*", ".gitignore", "scripts/*.sh", "Dockerfile*", "Makefile", ] autobins = false autoexamples = false autotests = false autobenches = false 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" [lib] name = "weather_util_rust" path = "src/lib.rs" [[bin]] name = "weather-util-rust" path = "src/main.rs" doc = false [[test]] name = "cli" path = "tests/cli.rs" [[bench]] name = "weather_benchmark" path = "benches/weather_benchmark.rs" harness = false [dependencies.clap] version = "4.5" features = ["derive"] optional = true [dependencies.derive_more] version = "1.0" features = ["full"] [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.22" [dependencies.nutype] version = "0.5" 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 = "2.0" [dependencies.time] version = "0.3" features = [ "serde-human-readable", "macros", ] [dependencies.tokio] version = "1.40" features = [ "io-std", "rt", "macros", "rt-multi-thread", ] optional = true [dependencies.url] version = "2.5" [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.1" [dev-dependencies.tempfile] version = "3.12" [features] cli = [ "reqwest", "tokio", "clap", ] default = [ "cli", "stackstring", ] stackstring = ["stack-string"]