#protobuf #prost-derive #prost #language

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

#114 in Procedural macros

Download history 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 2872742/week @ 2025-02-27 3482932/week @ 2025-03-06 3282135/week @ 2025-03-13 4618446/week @ 2025-03-20 2928125/week @ 2025-03-27 3049297/week @ 2025-04-03

14,566,555 downloads per month
Used in 2,389 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