#protobuf #serde #json

pbjson-types-any

Protobuf well known types with serde serialization support

1 unstable release

0.2.3 Feb 1, 2022

#304 in #protobuf

Download history 7/week @ 2023-11-20 9/week @ 2024-01-08 2/week @ 2024-01-15 2/week @ 2024-02-05 10/week @ 2024-02-19 33/week @ 2024-02-26 23/week @ 2024-03-04

67 downloads per month
Used in envoy-control-plane

MIT license

40KB
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

~3–6MB
~100K SLoC