rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-transit/src/provider.rs
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_gtfs_schedule_tables_with_shapessrc/provider.rs:384 | fn | 235 | 33 | 4 | 11 | 2.8 | |
| varintsrc/provider.rs:1116 | fn | 11 | 3 | 2 | 0 | 2.1 | |
| read_varintsrc/provider.rs:801 | fn | 10 | 3 | 1 | 0 | 2 | |
| TransitProvenance::observedsrc/provider.rs:66 | method | 3 | 1 | 5 | 0 | 2 | |
| proto_fieldssrc/provider.rs:751 | fn | 49 | 10 | 6 | 1 | 1.8 | |
| parse_csvsrc/provider.rs:709 | fn | 31 | 16 | 1 | 0 | 1.7 | |
| csv_rowssrc/provider.rs:690 | fn | 18 | 4 | 3 | 1 | 1.4 | |
| decode_gtfs_realtimesrc/provider.rs:848 | fn | 77 | 18 | 5 | 5 | 1.4 | |
| parse_gtfs_schedule_tablessrc/provider.rs:363 | fn | 20 | 1 | 2 | 1 | 1.3 | |
| TransitFeedSnapshot::emptysrc/provider.rs:101 | method | 17 | 1 | 5 | 1 | 1.3 | |
| proto_stringsrc/provider.rs:812 | fn | 6 | 2 | 5 | 0 | 1.3 | |
| parse_gtfs_time_secondssrc/provider.rs:319 | fn | 10 | 4 | 2 | 0 | 1.2 | |
| bytes_fieldsrc/provider.rs:1127 | fn | 6 | 1 | 3 | 1 | 1.2 | |
| required_columnsrc/provider.rs:686 | fn | 3 | 1 | 2 | 0 | 1 | |
| fetch_bytessrc/provider.rs:260 | fn | 14 | 3 | 2 | 0 | 1 | |
| zip_textsrc/provider.rs:299 | fn | 19 | 2 | 1 | 0 | 0.8 | |
| parse_gtfs_schedule_zipsrc/provider.rs:275 | fn | 23 | 1 | 2 | 2 | 0.8 | |
| nestedsrc/provider.rs:819 | fn | 6 | 2 | 1 | 0 | 0.7 | |
| decode_vehicle_positionsrc/provider.rs:966 | fn | 53 | 12 | 1 | 9 | 0.7 | |
| decode_trip_updatesrc/provider.rs:1020 | fn | 63 | 15 | 1 | 6 | 0.7 | |
| first_departure_seconds_from_schedulesrc/provider.rs:330 | fn | 8 | 1 | 1 | 1 | 0.7 | |
| parse_gtfs_shape_coordinatessrc/provider.rs:620 | fn | 35 | 6 | 1 | 2 | 0.7 | |
| observed_metadatasrc/provider.rs:656 | fn | 8 | 1 | 1 | 0 | 0.7 | |
| gtfs_route_modesrc/provider.rs:665 | fn | 10 | 6 | 1 | 0 | 0.7 | |
| gtfs_stop_typesrc/provider.rs:676 | fn | 9 | 5 | 1 | 0 | 0.7 | |
| string_fieldsrc/provider.rs:1133 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| int_fieldsrc/provider.rs:1136 | fn | 5 | 1 | 2 | 1 | 0.7 | |
| realtime_scheduled_servicesrc/provider.rs:343 | fn | 19 | 2 | 2 | 0 | 0.7 | |
| decode_trip_descriptorsrc/provider.rs:926 | fn | 13 | 6 | 2 | 4 | 0.7 | |
| decode_vehicle_descriptorsrc/provider.rs:940 | fn | 11 | 4 | 2 | 2 | 0.7 | |
| normalize_gtfs_service_datesrc/provider.rs:339 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| TransitFeedSnapshot::schedule_entity_countsrc/provider.rs:148 | method | 3 | 1 | 2 | 0 | 0.6 | |
| float_fieldsrc/provider.rs:1141 | fn | 5 | 1 | 1 | 0 | 0.6 | |
| decode_positionsrc/provider.rs:952 | fn | 13 | 6 | 1 | 1 | 0.6 | |
| vehicle_stop_statussrc/provider.rs:1084 | fn | 7 | 3 | 1 | 0 | 0.6 | |
| occupancy_statussrc/provider.rs:1092 | fn | 14 | 10 | 1 | 0 | 0.6 | |
| TransitRealtimeObservation::telemetrysrc/provider.rs:190 | method | 29 | 5 | 1 | 0 | 0.5 | |
| HttpGtfsProvider::newsrc/provider.rs:233 | method | 7 | 2 | 1 | 0 | 0.5 | |
| HttpGtfsProvider::fetch_schedulesrc/provider.rs:247 | trait impl | 6 | 1 | 1 | 2 | 0.5 | |
| HttpGtfsProvider::fetch_realtimesrc/provider.rs:254 | trait impl | 4 | 1 | 1 | 2 | 0.5 | |
| TransitFeedSnapshot::validatesrc/provider.rs:119 | method | 28 | 11 | 0 | 0 | 0.5 | |
| HttpGtfsProvider::provider_idsrc/provider.rs:243 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| empty_snapshot_canonicalizes_provider_idsrc/provider.rs:1112 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| schedule_tables_preserve_ids_modes_stops_and_provenancesrc/provider.rs:1148 | fn | 24 | 1 | 0 | 1 | 0.5 | |
| schedule_shapes_become_bounded_shared_route_geometrysrc/provider.rs:1174 | fn | 23 | 1 | 0 | 1 | 0.5 | |
| schedule_shapes_reject_invalid_world_coordinatessrc/provider.rs:1199 | fn | 17 | 1 | 0 | 1 | 0.5 | |
| schedule_csv_accepts_quoted_commas_and_escaped_quotessrc/provider.rs:1218 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| schedule_stops_inherit_parent_station_coordinatessrc/provider.rs:1225 | fn | 14 | 1 | 0 | 1 | 0.5 | |
| realtime_decoder_reads_vehicle_position_without_generated_identitysrc/provider.rs:1241 | fn | 38 | 1 | 0 | 6 | 0.5 | |
| realtime_decoder_reads_trip_delaysrc/provider.rs:1281 | fn | 13 | 1 | 0 | 4 | 0.5 | |
| malformed_realtime_payload_fails_closedsrc/provider.rs:1296 | fn | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.