-
Notifications
You must be signed in to change notification settings - Fork 314
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
Fails with new Cargo.lock
format
#436
Comments
Thanks for filing, will take a look. |
One could switch to the cargo crate to parse the Cargo.lock format, but this would hopelessly inflate the number of dependencies as it would include everything cargo is depending on. Ideally, one could ask the cargo maintainers to extract the Cargo.lock parsing code into a separate crate and to then use that. |
Lockfile v2 only includes version numbers if they're conflicting. Fixes mozilla#436
I had to catch up with the lockfile changes, but I think #438 should be enough. |
I tested the PR and it worked just fine. Thanks for looking at it. |
Lockfile v2 only includes version numbers if they're conflicting. Fixes #436
cargo
has enabled the new format by default[1] and this causes thecbindgen
to fail to parse the dependencies.It fails at https://github.com/eqrion/cbindgen/blob/master/src/bindgen/cargo/cargo.rs#L125 as the new format does not has the version annotated on the same line.
The text was updated successfully, but these errors were encountered: