24 releases
0.11.6 | Jan 10, 2023 |
---|---|
0.11.5 | Dec 20, 2022 |
0.11.3 | Nov 29, 2022 |
0.11.0 | Jul 29, 2022 |
0.1.0 | Jun 25, 2017 |
#4 in Build Utils
1,271,369 downloads per month
Used in 853 crates
(264 directly)
400KB
7K
SLoC
prost-build
prost-build
makes it easy to generate Rust code from .proto
files as part of
a Cargo build. See the crate documentation for examples
of how to integrate prost-build
into a Cargo project.
protoc
prost-build
uses protoc
to parse the proto files. There are two ways to make protoc
available for prost-build
:
- Include
protoc
in yourPATH
. This can be done by following theprotoc
install instructions. - Pass the
PROTOC=<my/path/to/protoc>
environment variable with the path toprotoc
.
License
prost-build
is distributed under the terms of the Apache License (Version 2.0).
See LICENSE for details.
Copyright 2017 Dan Burkert
Dependencies
~2.9–4MB
~98K SLoC