cctv 2.4.1

Terminal interface for CoolerControl
# 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 = "cctv"
version = "2.4.1"
authors = ["caferen"]
build = false
exclude = [
    "assets/working/*",
    "assets/demo.webm",
    "assets/cctv.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal interface for CoolerControl"
readme = "README.md"
keywords = [
    "cooling",
    "monitor",
    "terminal",
    "tui",
    "cli",
]
categories = [
    "hardware-support",
    "command-line-utilities",
]
license = "GPL-3.0-or-later"
repository = "https://gitlab.com/coolercontrol/cctv"

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

[dependencies.ansi-to-tui]
version = "8.0.1"
default-features = false

[dependencies.anyhow]
version = "1.0.100"
features = ["std"]
default-features = false

[dependencies.base64]
version = "0.22.1"
features = ["std"]
default-features = false

[dependencies.chrono]
version = "0.4.43"
features = [
    "clock",
    "serde",
]
default-features = false

[dependencies.clap]
version = "4.5.56"
features = [
    "derive",
    "std",
    "help",
    "usage",
    "error-context",
]
default-features = false

[dependencies.crossterm]
version = "0.29.0"
features = ["events"]
default-features = false

[dependencies.libc]
version = "0.2.176"
default-features = false

[dependencies.parking_lot]
version = "0.12.5"

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

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

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

[dependencies.toml]
version = "1"
features = [
    "parse",
    "display",
    "serde",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"
features = [
    "std",
    "attributes",
]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
    "ansi",
    "env-filter",
    "fmt",
]
default-features = false

[dependencies.ureq]
version = "3.1.4"
features = ["json"]
default-features = false

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

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
redundant_pub_crate = "allow"
struct_field_names = "allow"
too_many_lines = "allow"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

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