It would be really useful for me to be able to use this as a library, since it would avoid requiring the user to install cargo_xbuild as a separate step. I'm just playing with it now, and it seems I can just make a few bits public to get what I want: https://github.com/rust-osdev/cargo-xbuild/compare/master...ascjones:pub-build-fn.
Let me know whether this is a sensible idea and I can continue down this path and create a PR with these changes.
It would be really useful for me to be able to use this as a library, since it would avoid requiring the user to install
cargo_xbuild
as a separate step. I'm just playing with it now, and it seems I can just make a few bits public to get what I want: https://github.com/rust-osdev/cargo-xbuild/compare/master...ascjones:pub-build-fn.Let me know whether this is a sensible idea and I can continue down this path and create a PR with these changes.