mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
13 lines
321 B
Rust
13 lines
321 B
Rust
extern crate protobuf_codegen_pure;
|
|
|
|
use std::path::PathBuf;
|
|
|
|
fn main() {
|
|
let out_path = PathBuf::from("src/protos");
|
|
protobuf_codegen_pure::Codegen::new()
|
|
.out_dir(out_path)
|
|
.inputs(&["spec/2.1/vector_tile.proto"])
|
|
.include("spec/2.1")
|
|
.run()
|
|
.expect("Codegen failed.");
|
|
} |