78 stable releases

4.30.0-beta1 Dec 18, 2024
3.7.1 Oct 15, 2024
3.6.0 Sep 30, 2024
3.5.0 Jun 26, 2024
1.6.0 May 11, 2018

#130 in Network programming

Download history 120754/week @ 2024-09-18 120394/week @ 2024-09-25 114520/week @ 2024-10-02 111946/week @ 2024-10-09 140451/week @ 2024-10-16 125297/week @ 2024-10-23 120318/week @ 2024-10-30 111405/week @ 2024-11-06 156875/week @ 2024-11-13 134087/week @ 2024-11-20 112432/week @ 2024-11-27 135807/week @ 2024-12-04 149658/week @ 2024-12-11 91529/week @ 2024-12-18 54647/week @ 2024-12-25 87034/week @ 2025-01-01

407,685 downloads per month
Used in 405 crates (96 directly)

BSD-3-Clause

11KB
186 lines

The build time dependency crate for generating code for the official Google Rust Protobuf implementation.

The code generated by this is expected to be used in conjunction with the official Protobuf crate.

This is currently a beta release: the API is subject to change, and there may be some rough edges, including missing documentation and features.

How to get a compatible version of protoc

Usage of this crate currently requires protoc to be built from source, as it relies on changes that have not been included in the newest protoc release yet.

A future stable release will be compatible with the officially released protoc binaries.

You can build a compatible protoc from source as follows:

git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout $TAG
cmake . -Dprotobuf_FORCE_FETCH_DEPENDENCIES=ON
cmake --build . --parallel 12"

Dependencies

~230–325KB