1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-08-01 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

28
watt/Cargo.toml Normal file
View file

@ -0,0 +1,28 @@
[package]
name = "watt"
description.workspace = true
version.workspace = true
edition.workspace = true
authors.workspace = true
rust-version.workspace = true
[lib]
path = "lib.rs"
[[bin]]
name = "watt"
path = "main.rs"
[dependencies]
anyhow.workspace = true
clap.workspace = true
clap-verbosity-flag.workspace = true
ctrlc.workspace = true
derive_more.workspace = true
env_logger.workspace = true
log.workspace = true
num_cpus.workspace = true
serde.workspace = true
thiserror.workspace = true
toml.workspace = true
yansi.workspace = true