protobuf-example 4.35.0-rc.1

Example use of Rust Protocol Buffers bindings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
edition = "2023";

package proto_example;

import "google/protobuf/timestamp.proto";
import "proto_example/bar/bar.proto";

message Foo {
  int32 int = 1;
  repeated int32 numbers = 2;
  string name = 3;
  Bar bar = 4;
  google.protobuf.Timestamp timestamp = 5;
}