gtfs-rt 0.5.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/gtfs-realtime.proto"], &["src/"])
        .unwrap();
}