-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use cargo_metadata to explore the dependency tree. #16
Comments
cargo_metadata
to explore the dependency tree.
cargo_metadata
to explore the dependency tree.
Hi, I was looking to start working on this issue, and raised this PR Would you have any objections to me working on this? Thanks |
You might also consider |
Hello, Any and all contributions are very much welcome! In fact, I have been planning to reach out for new contributors for some time, but somehow continuously have been finding excuses to do it later. For some background see #87 The PR looks nice and clean, will merge in a moment. |
@tarcieri What's the main differences between cargo-lock and cargo_metadata? |
Hey, That's fantastic, cheers! I'd definitely be keen to start landing a few PR's where there's help needed. |
If we can eliminate cargo as a compile time dependency that would be huge. Keep those PRs coming! |
@anderejd
|
Sadly Resolving dependency types is surprisingly tricky - If you need any more info on this, feel free to ping me on Zulip. |
I started off with an attempt at refactoring the cli module into its constituent parts, with a view to adding unit tests to ensure that I don't break any functionality. |
After the refactoring from the previous PR, I've added in a few unit tests here: |
#112 looks great! Merged. |
Once the change from #139 has been made, the majority of the usages of
|
@jmcconnell26 |
Awesome! Have landed #140 to make the change. |
@jmcconnell26 Do you know of anything more that needs to be done before we close this issue? |
@anderejd, I think this should be everything on this issue. |
@jmcconnell26 A comment informing about the purpose of testing for each such |
Switch out the
cargo
API pieces currently used for exploring the dependency graph and use https://crates.io/crates/cargo_metadata instead.Found here: sfackler/cargo-tree#41
This is a subtask of #69
Consider using https://crates.io/crates/krates as part of this migration.
The text was updated successfully, but these errors were encountered: