FR(crate_universe): honor .bazelignore and REPO.bazel ignore_directories
The splicer can ignore crates (Cargo.toml files) that appear in certain fixed paths:
https://github.com/bazelbuild/rules_rust/blob/3585384b93cf10c6e5b1c1ba07d7405e596bd6d6/crate_universe/src/splicing/splicer.rs#L42
If a directory is bazel-ignored, then the splicer should skip that too.
I've hit this issue too. @alexeagle did you find a workaround? (beyond just patching rules_rust)
No, I've been trying dzbarsky/rules_rs to workaround this and other problems with the splicer.
Pull requests are welcome!
They are - but then there aren't enough maintainers helping to review them ;) Here to help 🙇🏻
Since the problem and use case is clear for this issue. I promise to review a change to implement this and approve given sufficient test coverage. It seems straight forward enough which is a refreshing break from most new issues (this is where maintainer bandwidth wanes) 😅