open-standards/jouleclaw/jouleclaw-rs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 1f9df46079 jouleclaw-energy: clippy-clean under rapl and nvml on Linux
- `--features rapl` alone: `liveness::probe` was never used. The RAPL probe
  reached the same code through `probe_packages_stepping(packages, || {})`,
  though rapl.rs documents its probe as `crate::liveness::probe`.
  `probe_packages` now calls `crate::liveness::probe` directly, which is the
  same call (probe = probe_stepping with a no-op step), and
  `probe_packages_stepping`, which only tests use, is `#[cfg(test)]`.
- `--features nvml`: tests/nvml_hardware.rs spelled an `nvidia-smi` power
  triple out three times (type_complexity). It is now the oracle's
  `SmiPower` alias.

Clippy -D warnings is clean on Linux (default, rapl, nvml, rapl+nvml) and
macOS (default, ioreport, smc, ioreport+smc, rapl). Tests pass: Linux rapl
(89) and rapl+nvml (96), macOS rapl lib (95).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 10:21:43 -05:00
..
crates jouleclaw-energy: clippy-clean under rapl and nvml on Linux 2026-11-05 10:21:43 -05:00
Cargo.lock sec: answer the gate's first catch — two constant-time advisories, and pin an allowance to the version it excuses 2026-10-24 20:06:05 -04:00
Cargo.toml Cargo: no minimum-supported-version floor, because the policy is latest stable 2026-11-03 17:42:20 -05:00