batlimit 0.11.12

Set battery charge limit on supported laptops on Linux with CLI
# 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 = "batlimit"
version = "0.11.12"
authors = ["github.com/pepa65 <pepa65@passchier.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Set battery charge limit on supported laptops on Linux with CLI"
documentation = "https://docs.rs/batlimit"
readme = "README.md"
keywords = [
    "laptop",
    "battery",
    "charge",
    "charge-limit",
    "persist",
]
categories = ["command-line-utilities"]
license = "GPL-3.0-or-later"
repository = "https://github.com/pepa65/batlimit"

[package.metadata.binstall]
pkg-url = "{repo}/releases/download/{version}/batlimit"
pkg-fmt = "bin"
target = "x86_64-unknown-linux-musl"
disabled-strategies = [
    "quick-install",
    "compile",
]
target-family = "Linux"
target-arch = "X86_64"

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

[dependencies.anyhow]
version = "1.0.95"

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

[dependencies.clap_complete]
version = "4.5.42"

[dependencies.regex]
version = "1.11.1"

[dependencies.text-template]
version = "0.1.0"

[lints.clippy]
unnecessary_unwrap = "allow"

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