Skip to content

Consolidate Dependabot bumps: file-rotate, service-manager, sha2, reqwest, plotly, sysinfo#311

Merged
daniel-thom merged 2 commits intomainfrom
deps/consolidated-bumps
May 10, 2026
Merged

Consolidate Dependabot bumps: file-rotate, service-manager, sha2, reqwest, plotly, sysinfo#311
daniel-thom merged 2 commits intomainfrom
deps/consolidated-bumps

Conversation

@daniel-thom
Copy link
Copy Markdown
Collaborator

Summary

Bundles six pending Dependabot PRs into one branch and fixes the breakage each one introduced.

Supersedes:

Per-bump notes

  • file-rotate 0.7 → 0.8: drop-in.
  • service-manager 0.7 → 0.11: new required restart_policy field on ServiceInstallCtx.
  • sha2 0.10 → 0.11: Digest::finalize() now returns hybrid_array::Array<u8, _>, which no longer implements LowerHex. All format!("{:x}", ...) sites switched to hex::encode(...); hex added as a workspace dep gated under the existing server/client features.
  • reqwest 0.12 → 0.13: RequestBuilder::query is now behind the optional query feature; added it to the workspace dep.
  • plotly 0.10 → 0.14: plotly_kaleido pulls in lzma-rust2 0.15 which requires crc <= 3.3, but sqlx-core resolves crc to 3.4. Pinned transitive crc to 3.3.0 in Cargo.lock.
  • sysinfo 0.29 → 0.38: large API overhaul — RefreshKind::newnothing; with_memory() now takes MemoryRefreshKind; the SystemExt/CpuExt/ProcessExt traits are gone (methods are inherent); refresh_cpurefresh_cpu_all; global_cpu_info().cpu_usage()global_cpu_usage(); refresh_processes() now requires ProcessesToUpdate::All + a remove_dead_processes: bool flag.

Test plan

  • cargo fmt -- --check
  • cargo clippy --all --all-targets --all-features -- -D warnings
  • dprint check
  • cargo build --all-features
  • cargo build --release --bin torc
  • cargo build --release --features server-bin --bin torc-server
  • cargo build --release --features dash --bin torc-dash
  • cargo build --release --features mcp-server --bin torc-mcp-server
  • cargo build --release --features slurm-runner --bin torc-slurm-job-runner
  • cargo test --lib --all-features — 400 passed
  • CI green on Ubuntu + Windows
  • Integration tests (require running server)

🤖 Generated with Claude Code

…west, plotly, sysinfo

Bundles six pending Dependabot PRs (#136, #158, #161, #180, #253, #255) into a
single branch and resolves the breakage each one introduced.

- file-rotate 0.7 -> 0.8: drop-in
- service-manager 0.7 -> 0.11: add new `restart_policy` field on
  `ServiceInstallCtx`
- sha2 0.10 -> 0.11: `finalize()` now returns `hybrid_array::Array`, which no
  longer implements `LowerHex`; replace `format!("{:x}", ...)` sites with
  `hex::encode(...)` and add `hex` as a workspace dep gated under the existing
  server/client features
- reqwest 0.12 -> 0.13: `RequestBuilder::query` is now feature-gated; add the
  `query` feature to the workspace dep
- plotly 0.10 -> 0.14: pin transitive `crc` to 3.3 to satisfy `lzma-rust2`'s
  `<=3.3` constraint (sqlx-core's `^3` was resolving to 3.4)
- sysinfo 0.29 -> 0.38: API overhaul -- `RefreshKind::new` -> `nothing`,
  `with_memory()` takes `MemoryRefreshKind`, the `*Ext` traits are gone,
  `refresh_cpu` -> `refresh_cpu_all`, `global_cpu_info().cpu_usage()` ->
  `global_cpu_usage()`, `refresh_processes()` now requires
  `ProcessesToUpdate::All` + `remove_dead_processes` flag
In file-rotate 0.7 the trailing mode arg was unix-only; in 0.8 it became
`Option<OpenOptions>` required on all platforms, so Windows builds hit
"this function takes 5 arguments but 4 arguments were supplied".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant