# 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 = "npltz"
version = "1.0.7"
build = false
include = [
    "src",
    "Cargo.toml",
    ".github/README.md",
    "LICENSE",
    "calendar_data.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nepali Patro in your terminal"
homepage = "https://github.com/harilvfs/npltz"
documentation = "https://github.com/harilvfs/npltz/blob/main/.github/README.md"
readme = ".github/README.md"
keywords = [
    "nepali-patro",
    "calendar",
    "bikram-sambat",
    "tui",
    "terminal",
]
categories = ["command-line-utilities"]
license = "MIT"
resolver = "2"

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

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

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

[dependencies.chrono]
version = "0.4.45"

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

[dependencies.clap_complete]
version = "4"

[dependencies.clap_mangen]
version = "0.3"

[dependencies.crossterm]
version = "0.29"

[dependencies.dirs]
version = "6"

[dependencies.ratatui]
version = "0.30"
features = ["crossterm"]
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
debug = 0
panic = "abort"
incremental = false
strip = true
