You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const DEFS: &[&str] = &["proto/github.com/moby/buildkit/frontend/gateway/pb/gateway.proto"];
|
|
const PATHS: &[&str] = &["proto"];
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_build::configure()
|
|
.build_client(true)
|
|
.build_server(true)
|
|
.compile(DEFS, PATHS)?;
|
|
|
|
Ok(())
|
|
}
|