Open jwinarske opened 1 year ago
Using cargo_metadata
I have a working pattern which should work with anything:
Gist: https://gist.github.com/jwinarske/69e23129c0d822f0a7eb72335e95459d
So the resolved object returns for all the non-git crates. For some reason it doesn't include git crate deps. So querying the git Cargo.toml crates and appending to the base resolved list gets all of the dependencies.
The project I'm currently working with has nearly 800 crates. I'll work on a PR the next week or so.
cargo bitbake
has trouble parsing a workspace Cargo.toml (root).Adding
cargo-features = ["resolver"]
and moving to nightly still ends in failure.This is from the root of a project with many packages. The root Cargo.toml looks something like this: