@0xc30dea3b13cfa3ec;
# Cap'n Proto schema mirroring the benchmark LogEvent workload (see
# examples/bench/main.rs). Generated Rust lives in logevent_capnp.rs, committed
# to the repo so the benchmark builds without the capnp compiler installed —
# the same policy as the committed FlatBuffers output (logevent_generated.rs).
# Regenerate with:
# capnp compile -orust examples/bench/logevent.capnp
# (requires the capnp binary and the capnpc-rust plugin).
struct Point {
x @0 :Float64;
y @1 :Float64;
}
struct LogEvent {
service @0 :Text;
level @1 :UInt32;
message @2 :Text;
latencyUs @3 :UInt32;
points @4 :List(Point);
codes @5 :List(UInt32);
}