[][src]Crate protobuf_codegen_pure

API to generate .rs files.

This API requires protoc command present in $PATH.

It is advisable that protobuf-codegen-pure build-dependecy version be the same as protobuf dependency.

The alternative is to use protoc-rust crate.

Structs

Args

Arguments for pure rust codegen invocation.

Customize

Specifies style of generated code.

Functions

run

Like protoc --rust_out=... but without requiring protoc or protoc-gen-rust commands in $PATH.