mcgoo / cargo-vcpkg

Get external dependencies in one step by specifying vcpkg details in Cargo.toml
Apache License 2.0
39 stars 6 forks source link

Is this project abandoned? #20

Open plusvic opened 7 months ago

plusvic commented 7 months ago

The latest commit is 2 years old and it doesn't seem to work with newer versions of vcpkg. I was planning to use it in a project, but I'm not sure it's a good idea.

waych commented 7 months ago

This project is largely in maintenance mode as we believe the main author has passed, and while we are open to PRs, we are hesitant to make a breaking release given how popular this crate when considering the number and popularity of crates dependent upon it (> 180k downloads / day now).

Making this project work with latest vcpkg usually requires keeping the 'rev' used in your project up to date with latest "https://github.com/microsoft/vcpkg", as upstream vcpkg tooling itself, that is downloaded by this crate and building of older commits in that tree breaks pretty often.

plusvic commented 7 months ago

Thank you for your response.

Making this project work with latest vcpkg usually requires keeping the 'rev' used in your project up to date with latest "https://github.com/microsoft/vcpkg", as upstream vcpkg tooling itself, that is downloaded by this crate and building of older commits in that tree breaks pretty often.

My experience has been quite the opposite. I was trying to build openssl and it only works if I use rev = "4c1db68", which is the one mentioned in the example. With more recent commits its fails to compile the openssl package.

waych commented 7 months ago

I had originally missed that this was posted to the cargo-vcpkg repo and not the vcpkg-rs repo fwiw.

Can you post more about what kind of errors you are seeing and on which target(s)? I see a couple open issues for openssl in the upstream repo for both arm64-linux and x64-windows, but am not sure I see the same, at least on x64-linux I just built at it okay at a34c873 using cargo-vcpkg.

You'll want cargo-vcpkg -v build to actually see the failures.