Git-download - a library to get files from a git repository


In my development, I need to share proto files between separate repositories. I tried a tool called protodep but it wasn't good for me because I want to write a fetch code in, followed by tonic_build's compile. Just like this:

    .add_file("lol-core/proto/lol-core.proto", "proto/lol.proto")

    .compile(&["lol.proto"], &["proto"])?;

I don't know similar tool exists but I thought no after a quick investigation. Tell me one if there is.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.