gtfs-realtime 0.1.4

Updated GTFS Realtime bindings
Documentation
1
2
3
4
5
6
7
8
9
10
11
use prost_build::Config;

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