abrisco / cargo-bazel

A Bazel repository rule for generating Rust dependencies with Cargo.
https://abrisco.github.io/cargo-bazel/
MIT License
4 stars 1 forks source link

Cargo workspaces do not require listing all manifests #100

Closed abrisco closed 2 years ago

abrisco commented 2 years ago

When using Cargo workspaces with crates_repository, users can set only the root level manifest to generate their project. However, these manifests do then get used when generating the lockfile digest. Instead, they should be required and a helpful hint should be shown, prompting users what they need to add.