stepancheg / grpc-rust

Rust implementation of gRPC
MIT License
1.38k stars 125 forks source link

rust_out option fails #166

Closed wbl closed 4 years ago

wbl commented 4 years ago

$protoc --rust-grpc_out=. --rust_out=. warp.proto protoc-gen-rust: program not found or is not executable Please specify a program using absolute path or make sure the program is available in your PATH system variable --rust_out: protoc-gen-rust: Plugin failed with status code 1.

This happens after installing grpc-compiler as the readme (https://github.com/stepancheg/grpc-rust/tree/master/grpc-compiler) says to do. I'm sure this will be solved by installing another package, but it isn't clear which one.

wbl commented 4 years ago

Update: cargo install protobuf-codegen is the magic invocation I required and then it Just Worked.

stepancheg commented 4 years ago

So I'm closing now. Please reopen if the issue starts to reproduce again.