mvt-rs 0.1.0

Read, write, and manipulate GTFS-Realtime data
Documentation
1
2
3
4
5
6
7
8
9
10
11
use prost_build::Config;

fn main() {
    Config::new()
    .type_attribute(
        ".",
        "#[derive(Serialize)] #[serde(rename_all = \"snake_case\")]",
    )
    .compile_protos(&["src/vector_tile.proto"], &["src/"])
    .unwrap();
}