Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2026

Bumps which from 7.0.3 to 8.0.0.

Release notes

Sourced from which's releases.

8.0.0

What's Changed

  • Add new Sys trait to allow abstracting over the underlying filesystem. Particularly useful for wasm32-unknown-unknown targets. Thanks @​dsherret for this contribution to which!
  • Add more debug level tracing for otherwise silent I/O errors.
  • Call the NonFatalHandler in more places to catch previously ignored I/O errors.
  • Remove use of the either dependency.

New Contributors

Changelog

Sourced from which's changelog.

8.0.0

  • Add new Sys trait to allow abstracting over the underlying filesystem. Particularly useful for wasm32-unknown-unknown targets. Thanks @​dsherret for this contribution to which!
  • Add more debug level tracing for otherwise silent I/O errors.
  • Call the NonFatalHandler in more places to catch previously ignored I/O errors.
  • Remove use of the either dependency.
Commits
  • adac2cd bump version, update changelog
  • 84e152e reduce sys::Sys requirements, add some tracing for otherwise silent errors (#...
  • a0a6daf feat: add Sys trait for swapping out system (#109)
  • eef1998 Add actively maintained badge
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jan 31, 2026
@dependabot dependabot bot requested a review from neiii as a code owner January 31, 2026 19:42
@dependabot dependabot bot added the rust Pull requests that update rust code label Jan 31, 2026
@greptile-apps
Copy link
Contributor

greptile-apps bot commented Jan 31, 2026

Greptile Overview

Greptile Summary

This PR updates the which crate from version 7.0.3 to 8.0.0. This is a major version bump from Dependabot.

Key Changes:

  • which 7.0.3 → 8.0.0 in Cargo.toml and Cargo.lock
  • Removes either dependency from which (still available via other deps)
  • Updates transitive dependency windows-sys 0.52.0 → 0.61.2

What's New in which 8.0.0:

  • New Sys trait for filesystem abstraction (useful for wasm32 targets)
  • Enhanced debug tracing for I/O errors
  • More comprehensive error handling via NonFatalHandler

Impact Assessment:
The codebase uses which in two locations for binary detection (harness-locate/src/detection.rs and harness-locate/src/harness/amp_code.rs). The usage is limited to calling which::which() and matching on which::Error::CannotFindBinaryPath. These APIs are stable and should remain compatible across the major version bump.

Confidence Score: 5/5

  • This dependency update is safe to merge with minimal risk
  • Standard Dependabot update with no breaking API changes affecting this codebase. The which crate usage is limited and uses stable APIs that remain compatible in version 8.0.0. Transitive dependency updates are also standard security/maintenance updates.
  • No files require special attention

Important Files Changed

Filename Overview
Cargo.toml Updates which dependency from version 7 to 8
Cargo.lock Locks which 8.0.0 and updates transitive dependencies (windows-sys 0.52.0 → 0.61.2, removes either from which)

Sequence Diagram

sequenceDiagram
    participant Dependabot
    participant Cargo.toml
    participant Cargo.lock
    participant which_crate as which crate
    participant windows_sys as windows-sys
    
    Dependabot->>Cargo.toml: Update which: "7" → "8"
    Dependabot->>Cargo.lock: Resolve dependencies
    Cargo.lock->>which_crate: Update 7.0.3 → 8.0.0
    which_crate->>which_crate: Remove either dependency
    which_crate->>windows_sys: Update 0.52.0 → 0.61.2
    which_crate-->>Cargo.lock: New dependency tree
    Note over Cargo.lock: Transitive updates:<br/>windows-sys in multiple crates<br/>updated to 0.61.2
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Bumps [which](https://github.com/harryfei/which-rs) from 7.0.3 to 8.0.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](harryfei/which-rs@7.0.3...8.0.0)

---
updated-dependencies:
- dependency-name: which
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/which-8.0.0 branch from fbee26d to 4134164 Compare February 2, 2026 12:26
@neiii neiii merged commit a33b1c7 into master Feb 2, 2026
19 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/which-8.0.0 branch February 2, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant