Skip to content

Commit f4be7b7

Browse files
committed
fix(prost-build): re-export error_message_protoc_not_found, protoc_from_env & protoc_include_from_env
fixes: #1062 I'm adding to fix a breaking change introduced in #1020 which moved these items. Since `0.12.5` this is causing build failures after `cargo update`. ``` Compiling grpc-build v6.1.0 error[E0432]: unresolved imports `prost_build::protoc_from_env`, `prost_build::protoc_include_from_env` --> /Users/ethan.brierley/.cargo/registry/src/index.crates.io-6f17d22bba15001f/grpc-build-6.1.0/src/lib.rs:3:19 | 3 | use prost_build::{protoc_from_env, protoc_include_from_env, Module}; | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `protoc_include_from_env` in the root | | | no `protoc_from_env` in the root ```
1 parent 26405ab commit f4be7b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prost-build/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ mod message_graph;
149149
mod path;
150150

151151
mod config;
152-
pub use config::Config;
152+
pub use config::{
153+
error_message_protoc_not_found, protoc_from_env, protoc_include_from_env, Config,
154+
};
153155

154156
mod module;
155157
pub use module::Module;

0 commit comments

Comments
 (0)