From 7ebf32b47cb18160752a943dccb9d0d7ecdf91ed Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sun, 30 Sep 2018 23:23:16 +0100 Subject: [PATCH] use serde_derive=on option when generating for rust-protobuf itsels --- protobuf/regenerate.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/protobuf/regenerate.sh b/protobuf/regenerate.sh index 609a79a76..be2c28a8b 100755 --- a/protobuf/regenerate.sh +++ b/protobuf/regenerate.sh @@ -25,6 +25,7 @@ mkdir tmp-generated protoc \ --plugin=protoc-gen-rust=$where_am_i/target/debug/protoc-gen-rust \ --rust_out tmp-generated \ + --rust_opt serde_derive=true \ -I../proto \ ../proto/google/protobuf/*.proto \ ../proto/google/protobuf/compiler/* \