#protobuf #json #serde

pbjson-types

Protobuf well known types with serde serialization support

3 unstable releases

0.2.1 Nov 10, 2021
0.2.0 Oct 18, 2021
0.1.0 Sep 28, 2021

#52 in #protobuf

Download history 485/week @ 2021-09-28 733/week @ 2021-10-05 809/week @ 2021-10-12 689/week @ 2021-10-19 413/week @ 2021-10-26 457/week @ 2021-11-02 228/week @ 2021-11-09 272/week @ 2021-11-16 302/week @ 2021-11-23

1,401 downloads per month

MIT license

22KB
504 lines

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–4.5MB
~67K SLoC

Ua