diff --git a/tonic-build/src/prost.rs b/tonic-build/src/prost.rs index 2a346f395..108cf807a 100644 --- a/tonic-build/src/prost.rs +++ b/tonic-build/src/prost.rs @@ -381,24 +381,22 @@ impl Builder { } /// Compile the .proto files and execute code generation. - pub fn compile
(self, protos: &[P], includes: &[P]) -> io::Result<()>
- where
- P: AsRef (
+ pub fn compile_with_config(
self,
mut config: Config,
- protos: &[P],
- includes: &[P],
- ) -> io::Result<()>
- where
- P: AsRef