gtfs-rt 0.2.0

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

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