You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Much like my previous issue on here, I'm in the process of moving a repo from using cargo raze over to crate universe, and I've hit one of the stranger packages in our dependencies. We currently (indirectly) depend on a library that generates bindings for a C library in its build.rs file. Because of how it does so, we have to basically replace the whole crate with our own bazel-friendly implementation.
To enable these kinds of scenarios, cargo raze provided a skipped_deps option. You can see an excerpt from their readme below:
In a few cases, the sys crate may need to be overridden entirely. This can be facilitated by removing and supplementing dependencies in the Cargo.toml, pre-generation:
Unfortunately, this usecase is not currently supported by crate universe, making it impossible to implement this crate.
I've started implementing a potential fix, but given I'm not very familiar with the codebase, I wanted to add an issue to track this, and in case someone with a better understanding of this repo beats me to it.
The text was updated successfully, but these errors were encountered:
Oh, I hadn't thought about using patches to do that 🤔
That would at least get me unblocked! I'll give that a try and might reach out on slack, thanks @illicitonion 😄
Much like my previous issue on here, I'm in the process of moving a repo from using cargo raze over to crate universe, and I've hit one of the stranger packages in our dependencies. We currently (indirectly) depend on a library that generates bindings for a C library in its build.rs file. Because of how it does so, we have to basically replace the whole crate with our own bazel-friendly implementation.
To enable these kinds of scenarios, cargo raze provided a
skipped_deps
option. You can see an excerpt from their readme below:Unfortunately, this usecase is not currently supported by crate universe, making it impossible to implement this crate.
I've started implementing a potential fix, but given I'm not very familiar with the codebase, I wanted to add an issue to track this, and in case someone with a better understanding of this repo beats me to it.
The text was updated successfully, but these errors were encountered: