#protobuf #json #serialization #serde-json #serde #type #pbjson

pbjson-types

Protobuf well known types with serde serialization support

12 releases

0.6.0 Sep 18, 2023
0.5.1 Oct 26, 2022
0.5.0 Sep 20, 2022
0.3.2 May 31, 2022
0.2.1 Nov 10, 2021

#1141 in Encoding

Download history 15486/week @ 2023-12-14 6720/week @ 2023-12-21 7864/week @ 2023-12-28 14551/week @ 2024-01-04 16130/week @ 2024-01-11 16381/week @ 2024-01-18 15290/week @ 2024-01-25 15675/week @ 2024-02-01 16385/week @ 2024-02-08 16550/week @ 2024-02-15 16076/week @ 2024-02-22 15927/week @ 2024-02-29 15266/week @ 2024-03-07 15260/week @ 2024-03-14 15316/week @ 2024-03-21 11621/week @ 2024-03-28

60,442 downloads per month
Used in 61 crates (25 directly)

MIT license

62KB
1.5K 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.3–5MB
~84K SLoC