From f0002856a28a6ad06a66b9c0d7ae7a7c2b79e11b Mon Sep 17 00:00:00 2001 From: tottoto Date: Fri, 6 Sep 2024 01:17:21 +0900 Subject: [PATCH] feat(build): Reexport types related to prost --- 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};