Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-transit/src/provider.rs

cre8-app-transit · module provider · src · 1,299 lines (1,209 code, 19 comment) · sha 0c81abd1f291b313

Items

const FEED_SCHEMA const CONTROL_TOWER_SCHEMA const GTFS_SCHEDULE_FORMAT const GTFS_REALTIME_FORMAT const FEED_STATE_DDL const REALTIME_OBSERVATION_DDL const REALTIME_PROVIDER_INDEX_DDL enum TransitProvenanceKind struct TransitProvenance impl TransitProvenance struct TransitFeedSnapshot impl TransitFeedSnapshot struct TransitRealtimeObservation impl TransitRealtimeObservation trait TransitFeedProvider struct HttpGtfsProvider impl HttpGtfsProvider impl TransitFeedProvider for HttpGtfsProvider enum ProtoValue struct RtTrip struct RtVehicle struct RtPosition

Functions

By call-graph weight (PageRank; 1.0 is the average function). 51 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
parse_gtfs_schedule_tables_with_shapessrc/provider.rs:384fn235334112.8
varintsrc/provider.rs:1116fn113202.1
read_varintsrc/provider.rs:801fn103102
TransitProvenance::observedsrc/provider.rs:66method31501.9
proto_fieldssrc/provider.rs:751fn4910611.8
parse_csvsrc/provider.rs:709fn3116101.7
csv_rowssrc/provider.rs:690fn184311.4
decode_gtfs_realtimesrc/provider.rs:848fn7718551.4
parse_gtfs_schedule_tablessrc/provider.rs:363fn201211.3
TransitFeedSnapshot::emptysrc/provider.rs:101method171511.3
proto_stringsrc/provider.rs:812fn62501.3
parse_gtfs_time_secondssrc/provider.rs:319fn104201.2
bytes_fieldsrc/provider.rs:1127fn61311.2
required_columnsrc/provider.rs:686fn31201
fetch_bytessrc/provider.rs:260fn143200.9
zip_textsrc/provider.rs:299fn192100.8
parse_gtfs_schedule_zipsrc/provider.rs:275fn231220.8
nestedsrc/provider.rs:819fn62100.7
decode_vehicle_positionsrc/provider.rs:966fn5312190.7
decode_trip_updatesrc/provider.rs:1020fn6315160.7
first_departure_seconds_from_schedulesrc/provider.rs:330fn81110.7
parse_gtfs_shape_coordinatessrc/provider.rs:620fn356120.7
observed_metadatasrc/provider.rs:656fn81100.7
gtfs_route_modesrc/provider.rs:665fn106100.7
gtfs_stop_typesrc/provider.rs:676fn95100.7
string_fieldsrc/provider.rs:1133fn31210.7
int_fieldsrc/provider.rs:1136fn51210.7
realtime_scheduled_servicesrc/provider.rs:343fn192200.7
decode_trip_descriptorsrc/provider.rs:926fn136240.7
decode_vehicle_descriptorsrc/provider.rs:940fn114220.7
normalize_gtfs_service_datesrc/provider.rs:339fn31110.6
TransitFeedSnapshot::schedule_entity_countsrc/provider.rs:148method31200.6
float_fieldsrc/provider.rs:1141fn51100.6
decode_positionsrc/provider.rs:952fn136110.6
vehicle_stop_statussrc/provider.rs:1084fn73100.6
occupancy_statussrc/provider.rs:1092fn1410100.6
TransitRealtimeObservation::telemetrysrc/provider.rs:190method295100.5
HttpGtfsProvider::newsrc/provider.rs:233method72100.5
HttpGtfsProvider::fetch_schedulesrc/provider.rs:247trait impl61120.5
HttpGtfsProvider::fetch_realtimesrc/provider.rs:254trait impl41120.5
TransitFeedSnapshot::validatesrc/provider.rs:119method2811000.5
HttpGtfsProvider::provider_idsrc/provider.rs:243trait impl31000.5
empty_snapshot_canonicalizes_provider_idsrc/provider.rs:1112fn31010.5
schedule_tables_preserve_ids_modes_stops_and_provenancesrc/provider.rs:1148fn241010.5
schedule_shapes_become_bounded_shared_route_geometrysrc/provider.rs:1174fn231010.5
schedule_shapes_reject_invalid_world_coordinatessrc/provider.rs:1199fn171010.5
schedule_csv_accepts_quoted_commas_and_escaped_quotessrc/provider.rs:1218fn51010.5
schedule_stops_inherit_parent_station_coordinatessrc/provider.rs:1225fn141010.5
realtime_decoder_reads_vehicle_position_without_generated_identitysrc/provider.rs:1241fn381060.5
realtime_decoder_reads_trip_delaysrc/provider.rs:1281fn131040.5
malformed_realtime_payload_fails_closedsrc/provider.rs:1296fn31010.5

Source not readable from this process.