Closed derekdreery closed 4 years ago
Hi!
This sounds like a good idea, but I have one question before you start. Is it possible to avoid the build dependency of bindgen (and thus the 20 other crates that comes with it), if the bindgen feature is disabled?
Thanks!
It looks like it should be possible to have optional build-dependencies using a strategy similar to what's described here: https://docs.rs/ispc/1.0.6/ispc/
Closing due to inactivity.
yeah sorry for never getting round to this
I've done a patch that does this, but I have a couple of open questions. I'll do a PR and we can discuss it there?
Using bindgen, the
build.rs
would look something likeI'm happy to knock up a PR if you accept this feature.