#encoding-decoding #protobuf #annotated #generator #annotations

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

36 releases

0.14.3 Jan 10, 2026
0.14.2 Dec 1, 2025
0.14.1 Jun 18, 2025
0.13.5 Feb 12, 2025
0.1.0 Jun 25, 2017

#204 in Procedural macros

Download history 3592248/week @ 2025-12-01 4012728/week @ 2025-12-08 4164303/week @ 2025-12-15 1985289/week @ 2025-12-22 1804703/week @ 2025-12-29 4066412/week @ 2026-01-05 4939854/week @ 2026-01-12 5197786/week @ 2026-01-19 5523709/week @ 2026-01-26 5800102/week @ 2026-02-02 6170434/week @ 2026-02-09 5642144/week @ 2026-02-16 6189775/week @ 2026-02-23 7304414/week @ 2026-03-02 7550549/week @ 2026-03-09 6982929/week @ 2026-03-16

28,354,300 downloads per month
Used in 5,087 crates (59 directly)

Apache-2.0

95KB
2.5K 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.6–1MB
~22K SLoC