[][src]Crate protoc_rust

API to generate .rs files.

This API requires protoc command present in $PATH.

It is advisable that protoc-rust build-dependecy version be the same as protobuf dependency.

The alternative is to use protobuf-codegen-pure.

Structs

Args

Protoc --rust_out... args

Customize

Specifies style of generated code.

Functions

run

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

Type Definitions

Error

Alias for io::Error

Result

Alias for io::Error