protobuf-codegen-pure 2.14.0

Pure-rust codegen for protobuf using protobuf-parser crate WIP

API to generate .rs files

API to generate .rs files to be used e. g. from

Example code:

extern crate protobuf_codegen_pure;

protobuf_codegen_pure::run(protobuf_codegen_pure::Args {
    out_dir: "src/protos",
    input: &["protos/a.proto", "protos/b.proto"],
    includes: &["protos"],
    customize: Customize {

And in Cargo.toml:

protobuf_codegen_pure = "1.5"

The alternative is to use protoc-rust crate, which relies on protoc command to parse descriptors (thus it's more reliable), but it requires protoc command in $PATH.