prost-build 0.14.6

Generate Prost annotated Rust types from Protocol Buffers files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
syntax = "proto3";

package packed_encoding_proto3;

message TestPacked {
  repeated int32 no_options = 1;
  repeated int32 other_options_only = 2 [deprecated = true];
  repeated int32 explicit_unpacked = 3 [packed = false];
  repeated int32 explicit_unpacked_with_options = 4 [packed = false, deprecated = true];
  repeated int32 explicit_packed = 5 [packed = true];
  repeated int32 explicit_packed_with_options = 6 [packed = true, deprecated = true];
}