| Crates.io | staging-protobuf-example |
| lib.rs | staging-protobuf-example |
| version | 4.30.0-beta1 |
| created_at | 2024-12-05 14:36:06.551335+00 |
| updated_at | 2024-12-18 18:24:07.768856+00 |
| description | Example use of Rust Protocol Buffers bindings |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1473256 |
| size | 7,632 |
An example that demonstrates how to use the protobuf and protobuf_codegen
crates together.
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"