Improve workspace discovery logic (#3030) Previously we were assuming that any crate with a path dep lives in a workspace, and any that doesn't isn't. This isn't correct logic. https://doc.rust-lang.org/cargo/reference/workspaces.html describes the specification. We do filesystem traversal to detect implicit members. This is a little more expensive, but much more correct. This is a precursor for supporting path dependencies - the current incorrect logic incorrectly identifies any Cargo.toml file containing a path dependency as expecting to live in a workspace, which breaks some use-cases.
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust.
Please refer to the full documentation.