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};