quick-protobuf 0.8.1

A pure Rust protobuf (de)serializer. Quick.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
syntax = "proto2";

enum Enum1 {
  a = 0;
  b = 1;
  c = 2;
}

message Msg1 {
  optional Enum1 x = 9 [default = a]; // a field exists
  optional Enum1 y = 9 [default = does_not_exist]; // a field doesn't exist
}