build: bump workspace dependencies#370
Conversation
Refresh Cargo.lock to latest semver-compatible versions and bump direct dependency constraints to current major versions. Notable upgrades: - reqwest 0.11 -> 0.12 (+ reqwest-middleware 0.4, reqwest-retry 0.7) - rand 0.8 -> 0.10 - git2 0.20 -> 0.21 - sysinfo 0.33 -> 0.37 - object 0.36 -> 0.39 - base64 0.21 -> 0.22, md5 0.7 -> 0.8, sha256 1.4 -> 1.6 - indicatif 0.17 -> 0.18, console 0.15 -> 0.16 - addr2line 0.25 -> 0.26, gimli 0.32 -> 0.33, procfs 0.17 -> 0.18 - ipc-channel 0.18 -> 0.20 - libbpf-rs/libbpf-cargo 0.25 -> 0.26, bindgen 0.71 -> 0.72 - insta 1.29 -> 1.47, rstest 0.25 -> 0.26, test-with 0.15 -> 0.16 Consolidate insta, rstest, test-log, test-with, and ipc-channel as workspace dependencies. bincode stays on 1.x because 2.0 changes the wire format and serde integration. Code adjustments to match new APIs: - rand::distributions -> rand::distr, thread_rng() -> rng() - git2 Remote::url() now returns Result - sysinfo physical_core_count is now an associated function - enable the json feature on reqwest-middleware Co-Authored-By: Claude <noreply@anthropic.com>
Greptile SummaryThis PR bumps direct dependency constraints across the workspace to current semver-compatible versions, consolidates several dev-tool dependencies under
Confidence Score: 4/5Safe to merge; all API call-sites are correctly adapted to the new library versions and there are no functional regressions. All three code changes (rand distr rename, git2 url() Result handling, sysinfo associated function) are minimal and mechanically correct adaptations. The one gap is that runner-shared's rand dev-dependency was not bumped alongside the workspace-wide rand upgrade, leaving two copies of rand in the build graph. crates/runner-shared/Cargo.toml — the rand dev-dependency is still on 0.8 while the rest of the workspace has moved to 0.10. Important Files Changed
|
Merging this PR will not alter performance
|
Refresh
Cargo.lockto latest semver-compatible versions and bump direct dependency constraints to current major versions across the workspace.Notable upgrades:
reqwest0.11 → 0.12 (+reqwest-middleware0.4,reqwest-retry0.7)rand0.8 → 0.10git20.20 → 0.21sysinfo0.33 → 0.37object0.36 → 0.39base640.21 → 0.22,md50.7 → 0.8,sha2561.4 → 1.6indicatif0.17 → 0.18,console0.15 → 0.16addr2line0.25 → 0.26,gimli0.32 → 0.33,procfs0.17 → 0.18ipc-channel0.18 → 0.20libbpf-rs/libbpf-cargo0.25 → 0.26,bindgen0.71 → 0.72insta1.29 → 1.47,rstest0.25 → 0.26,test-with0.15 → 0.16Also consolidates
insta,rstest,test-log,test-with, andipc-channelunder[workspace.dependencies]so future bumps only touch one place.bincodeintentionally stays on 1.x — 2.0 changes the wire format and serde integration, which would invalidate existing serialized data.Code adjustments to match new APIs:
rand::distributions→rand::distr,thread_rng()→rng()(rand 0.9 rename)git2::Remote::url()now returnsResultinstead ofOptionsysinfo::System::physical_core_countis now an associated functionjsonfeature onreqwest-middleware(no longer on by default in 0.4)