#json #serde-json #protobuf #serde

pbjson-types

Protobuf well known types with serde serialization support

13 unstable releases

0.7.0 Jul 9, 2024
0.6.0 Sep 18, 2023
0.5.1 Oct 26, 2022
0.3.2 May 31, 2022
0.2.1 Nov 10, 2021

#530 in Encoding

Download history 31965/week @ 2024-09-07 31841/week @ 2024-09-14 32917/week @ 2024-09-21 38501/week @ 2024-09-28 39273/week @ 2024-10-05 40922/week @ 2024-10-12 86197/week @ 2024-10-19 200620/week @ 2024-10-26 194297/week @ 2024-11-02 194511/week @ 2024-11-09 174784/week @ 2024-11-16 119266/week @ 2024-11-23 115216/week @ 2024-11-30 226316/week @ 2024-12-07 205359/week @ 2024-12-14 56162/week @ 2024-12-21

616,624 downloads per month
Used in 127 crates (50 directly)

MIT license

65KB
1.5K SLoC

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

~1.7–4MB
~70K SLoC