open-standards/jcp/jcp-rs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science fba729ce7b jcp-energy: clippy-clean on Linux, with and without nvml
- `FabricMeter::readable` and `FabricMeter::measure` built their vector
  `mut` on every platform and pushed to it only on macOS, so Linux reported
  two unused `mut`s. Each now has a macOS body that builds and returns the
  vector, and a body for everywhere else that returns it empty. The behaviour
  is the same on both.
- `FabricSource::has_backend`: with `nvml` on, its match folded to a
  `matches!` (match_like_matches_macro). It is written as one, with the nvml
  arm still gated on the feature.
- tests/nvml_hardware.rs: the `nvidia-smi` power triple is the oracle's
  `SmiPower` alias (type_complexity under `--features nvml`).

Clippy -D warnings is clean on Linux (default, nvml) and in the macOS lint
step (jcp-energy, jcp-gateway). Tests pass: Linux default (68) and nvml (70),
macOS lib (128).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 10:21:43 -05:00
..
conformance/v1 jcp: JCR-1 receipts bind their payload — jcp/2 + version dispatch (SPEC §8, C23) 2026-07-18 03:04:19 -04:00
crates jcp-energy: clippy-clean on Linux, with and without nvml 2026-11-05 10:21:43 -05:00
Cargo.lock jcp-wire: a caller-signed challenge, and endpoint evidence bound to the answer 2026-10-21 10:26:42 -04:00
Cargo.toml Cargo: no minimum-supported-version floor, because the policy is latest stable 2026-11-03 17:42:20 -05:00