mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

Switch to using gitoxide by default for listing files ### What does this PR try to resolve? Uses gitoxide by for listing the contents of a git repository by default. Fixes #10150 It's possible out-opt of this change with the environment variable `__CARGO_GITOXIDE_DISABLE_LIST_FILES=1`. This opt-out mechanism is temporary and will be removed before the next release. ### How should we test and review this PR? The newly added test fails with the `git2` implementation.