# 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 = "2024"
name = "celsius"
version = "0.3.2"
build = false
exclude = [
    "demos/",
    "scenes/",
    "scripts/",
    ".github/",
    "benches/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal weather TUI: first-person sky view of the weather at your location, rendered as a truecolor half-block scene"
readme = "README.md"
keywords = [
    "weather",
    "tui",
    "terminal",
    "sky",
    "cli",
]
categories = [
    "command-line-utilities",
    "visualization",
]
license = "MIT"
repository = "https://github.com/lmarkmann/celsius"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
default = []
png = ["dep:image"]

[lib]
name = "celsius"
path = "src/lib.rs"

[[bin]]
name = "celsius"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crossterm]
version = "0.28"

[dependencies.dirs]
version = "6"

[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false

[dependencies.ratatui]
version = "0.30"
features = ["crossterm_0_28"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.5"

[dependencies.unicode-width]
version = "0.2"

[dependencies.ureq]
version = "2"
features = ["json"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.serde_json]
version = "1"

[profile.release]
opt-level = 3
lto = "thin"
strip = "symbols"
