Skip to content
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 by default (instead of cargo internals) #134

Merged
merged 10 commits into from
Feb 16, 2020

Conversation

acmcarther
Copy link
Member

@acmcarther acmcarther commented Feb 16, 2020

This PR updates the implementation to use cargo metadata instead of compiled-in cargo internals.

It adds some backup flags in case this breaks some folks.
-- --cargo-bin-path Lets you set the path to the cargo binary used for running cargo-metadata
-- --deprecated-use-cargo-internals Forces usage of the cargo internals implementation

I'm going to up the minor version for this change.

cc: #132

This doesn't fix that bug since it doesn't remove the cargo dep, but it opens the door to fixing it after this has been released for a bit. If folks don't have issues, we can drop the "internals" impl, and remove lingering usages of the cargo dependency

@acmcarther acmcarther merged commit 816ea69 into master Feb 16, 2020
@GregBowyer
Copy link
Contributor

@acmcarther fwiw this might be a route towards #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants