tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
452 stars 87 forks source link

Add library crate version of pb-rs #73

Closed UserAB1236872 closed 6 years ago

UserAB1236872 commented 7 years ago

Right now this is one of the main issues prevent me from using quick-protobuf (along with #68 and a couple things in #12). It would be very useful to abstract pb-rs into its own library usable in build.rs scripts.

You can sort of do this now by installing pb-rs and executing it as a command-line tool, but it's clunky and more failure prone from a user-perspective.

tafia commented 6 years ago

@jackalcooper has probably done what you wanted https://github.com/tafia/quick-protobuf/pull/95. I have not published pb-rs the lib into crates.io (I don't really know what is the best practice for having both a bin and a lib)

tafia commented 6 years ago

This has been done long ago now