pub fn compile_protobuf<P1, P2>(src_dir: P1, out_dir: P2) -> Result<()>where
    P1: AsRef<Path>,
    P2: AsRef<Path>,