From ffd7794559347f17c270a062d6c8be8e90fea433 Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 20 Sep 2024 20:44:39 +0900 Subject: [PATCH] feat(build): Reexport types related to prost (#1925) --- tonic-build/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tonic-build/src/lib.rs b/tonic-build/src/lib.rs index dea8befa3..a5d45d274 100644 --- a/tonic-build/src/lib.rs +++ b/tonic-build/src/lib.rs @@ -81,6 +81,10 @@ use quote::TokenStreamExt; /// Prost generator #[cfg(feature = "prost")] mod prost; +#[cfg(feature = "prost")] +pub use prost_build::Config; +#[cfg(feature = "prost")] +pub use prost_types::FileDescriptorSet; #[cfg(feature = "prost")] pub use prost::{compile_fds, compile_protos, configure, Builder};