rust-transit / gtfs-structure

Read a GTFS file
MIT License
57 stars 32 forks source link

add field for optional shape_id in Trip structs #62

Closed flauschzelle closed 4 years ago

flauschzelle commented 4 years ago

In the GTFS specification, trips have an optional shape_id field. To reflect this in the data structures, I added a field to the Trip and RawTrip structs using Rust's Option type.

antoine-de commented 4 years ago

once #63 is merged it will be released a version 0.20.1 on crates.io