#protobuf #prost #language #prost-derive

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

#128 in Procedural macros

Download history 2265589/week @ 2024-12-06 2141775/week @ 2024-12-13 896581/week @ 2024-12-20 817711/week @ 2024-12-27 1834093/week @ 2025-01-03 2234276/week @ 2025-01-10 1972895/week @ 2025-01-17 2223160/week @ 2025-01-24 2328527/week @ 2025-01-31 2638370/week @ 2025-02-07 2635495/week @ 2025-02-14 2780059/week @ 2025-02-21 3139638/week @ 2025-02-28 3365846/week @ 2025-03-07 3285288/week @ 2025-03-14 3994714/week @ 2025-03-21

14,280,985 downloads per month
Used in 2,380 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.2MB
~26K SLoC