#serde-json #json #protobuf #serde #type #prost #pbjson

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

#486 in Encoding

Download history 160709/week @ 2024-11-21 96793/week @ 2024-11-28 181301/week @ 2024-12-05 226065/week @ 2024-12-12 103482/week @ 2024-12-19 56293/week @ 2024-12-26 198896/week @ 2025-01-02 235925/week @ 2025-01-09 155350/week @ 2025-01-16 169606/week @ 2025-01-23 165975/week @ 2025-01-30 185239/week @ 2025-02-06 165549/week @ 2025-02-13 215654/week @ 2025-02-20 216042/week @ 2025-02-27 235073/week @ 2025-03-06

874,188 downloads per month
Used in 139 crates (54 directly)

MIT license

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

~1.7–4.5MB
~72K SLoC