sval_protobuf
This library implements a binary encoding for sval::Values that's compatible with the
protobuf wire format.
It doesn't require protoc.
Getting started
Add sval_protobuf and sval to your Cargo.toml:
[]
= "2"
[]
= "2"
[]
= "0.1.0"
Derive sval::Value on your types and encode them as protobuf messages:
extern crate sval_derive;
let encoded = stream_to_protobuf;