#protobuf #json #serde

pbjson-types-any

Protobuf well known types with serde serialization support

1 unstable release

Uses new Rust 2021

0.2.3 Feb 1, 2022

#153 in #protobuf

42 downloads per month
Used in envoy-control-plane

MIT license

38KB
1K SLoC

Pbjson

Pbjson is a set of crates to automatically generate serde Serialize and Deserialize implementations for auto-generated prost types.

See pbjson-build for usage instructions


lib.rs:

pbjson-types provides the google.protobuf types, commonly known as well-known-types, with serde::Serialize and serde::Deserialize implementations that are compliant with the protobuf JSON mapping

Note: Coverage of all types is currently incomplete, some may have non-compliant implementations

Dependencies

~2.5–4MB
~77K SLoC