prost-reflect 0.16.3

A protobuf library extending prost with reflection support and dynamic messages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Protobuf definitions used in doctests. file_descriptor_set.bin should be the compiled version of this file.
syntax = "proto3";

import public "google/protobuf/empty.proto";
import public "google/protobuf/any.proto";

package package;

message MyMessage {
    int32 foo = 1;

    oneof optional {
        int32 bar = 2;
    }

    MyMessage nested = 3;
}