#codec #protobuf #prost #buffer #decoding #protocols #generate

macro prost-derive

Generate encoding and decoding implementations for Prost annotated types

33 releases

new 0.13.4 Dec 6, 2024
0.13.3 Sep 21, 2024
0.13.2 Aug 30, 2024
0.13.1 Jul 9, 2024
0.1.0 Jun 25, 2017

#76 in Procedural macros

Download history 1605087/week @ 2024-08-19 1672590/week @ 2024-08-26 1635971/week @ 2024-09-02 1782415/week @ 2024-09-09 1647550/week @ 2024-09-16 1794148/week @ 2024-09-23 1863347/week @ 2024-09-30 1840430/week @ 2024-10-07 1950985/week @ 2024-10-14 2076031/week @ 2024-10-21 1857569/week @ 2024-10-28 1895351/week @ 2024-11-04 1906819/week @ 2024-11-11 1931956/week @ 2024-11-18 1482106/week @ 2024-11-25 1755816/week @ 2024-12-02

7,129,236 downloads per month
Used in 2,326 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.7–1.2MB
~26K SLoC