1
Fork 0
mirror of https://github.com/RGBCube/watt synced 2025-08-03 11:27:47 +00:00

watt: turn into a library

This commit is contained in:
RGBCube 2025-06-14 22:54:46 +03:00
parent 3c82679ada
commit a341d08c45
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
11 changed files with 115 additions and 84 deletions

View file

@ -1,12 +1,17 @@
[package]
name = "watt"
description = "Modern CPU frequency and power management utility for Linux"
version = "0.4.0"
edition = "2024"
authors = [ "NotAShelf <raf@notashelf.dev>", "RGBCube <git@rgbcu.be>" ]
rust-version = "1.85"
[workspace]
members = [ "watt" ]
resolver = "3"
[dependencies]
[workspace.package]
authors = [ "NotAShelf <raf@notashelf.dev>", "RGBCube <git@rgbcu.be>" ]
description = "Modern CPU frequency and power management utility for Linux"
edition = "2024" # Keep in sync with .rustfmt.toml.
license = "MPL-2.0"
repository = "https://github.com/notashelf/watt"
rust-version = "1.85"
version = "0.4.0"
[workspace.dependencies]
anyhow = "1.0"
clap = { version = "4.0", features = [ "derive", "env" ] }
clap-verbosity-flag = "3.0.2"