Skip to content

Commit

Permalink
feat(build): Reexport types related to prost (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Sep 20, 2024
1 parent 43c926f commit ffd7794
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 ffd7794

Please sign in to comment.