#codec #protobuf #prost #buffer #decoding #protocols #annotated

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

34 releases

0.13.5 Feb 12, 2025
0.13.4 Dec 6, 2024
0.13.3 Sep 21, 2024
0.13.1 Jul 9, 2024
0.1.0 Jun 25, 2017

#87 in Procedural macros

Download history 1794549/week @ 2024-11-21 1530626/week @ 2024-11-28 2128102/week @ 2024-12-05 2189485/week @ 2024-12-12 1211815/week @ 2024-12-19 669990/week @ 2024-12-26 1674343/week @ 2025-01-02 2225016/week @ 2025-01-09 1996075/week @ 2025-01-16 2189997/week @ 2025-01-23 2288428/week @ 2025-01-30 2597026/week @ 2025-02-06 2517359/week @ 2025-02-13 2906157/week @ 2025-02-20 2872805/week @ 2025-02-27 3482763/week @ 2025-03-06

12,370,521 downloads per month
Used in 2,372 crates (55 directly)

Apache-2.0

92KB
2K SLoC

Documentation Crate

prost-derive

prost-derive handles generating encoding and decoding implementations for Rust types annotated with prost annotation. For the most part, users of prost shouldn't need to interact with prost-derive directly.

License

prost-derive is distributed under the terms of the Apache License (Version 2.0).

See LICENSE for details.

Copyright 2017 Dan Burkert

Dependencies

~0.8–1.3MB
~27K SLoC