Skip to content

Commit

Permalink
feat(build): Reexport types related to prost
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Sep 19, 2024
1 parent 43c926f commit f000285
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tonic-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit f000285

Please sign in to comment.