Function grpc_build::base::refactor
source · pub fn refactor(output: impl AsRef<Path>) -> Result<()>
Expand description
tonic_build::Builder::compile
outputs all the rust files into the output dir all at the top level.
This might not be the most desirable. Running this function converts the file into a more expected directory
structure and generates the expected mod file output