osmpbf 0.1.0

A reader for the OpenStreetMap PBF file format (*.osm.pbf).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate protoc_rust;

fn main() {
    let proto_files = ["src/proto/fileformat.proto", "src/proto/osmformat.proto"];

    for path in &proto_files {
        println!("cargo:rerun-if-changed={}", path);
    }

    protoc_rust::run(protoc_rust::Args {
        out_dir: "src/proto",
        input: &proto_files,
        includes: &[],
    }).expect("protoc");
}