1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-webcam/src/provider.rs
Items
const CALTRANS const NYC_DOT const TFL_JAMCAM const DIGITRAFFIC const SG_LTA const FAKE const NYC_DOT_URL const TFL_JAMCAM_URL const DIGITRAFFIC_URL const SG_LTA_URL const DIGITRAFFIC_HEADERS const CALTRANS_DISTRICTS const TFL_REFRESH_S const DIGITRAFFIC_REFRESH_S const NYC_DOT_REFRESH_S const FEED_OPTIONS struct PublicCamera impl PublicCamera struct ProviderInfo impl ProviderInfo static PROVIDERS static FAKE_PROVIDER struct ProviderPull const STILL_OPTIONS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| slugifysrc/provider.rs:118 | fn | 3 | 1 | 2 | 1 | 2.4 | |
| textsrc/provider.rs:554 | fn | 7 | 3 | 6 | 0 | 2.2 | |
| camera_idsrc/provider.rs:114 | fn | 3 | 1 | 2 | 1 | 2 | |
| provider_infosrc/provider.rs:208 | fn | 3 | 1 | 9 | 0 | 1.8 | |
| PublicCamera::camera_idsrc/provider.rs:74 | method | 3 | 1 | 5 | 1 | 1.5 | |
| PublicCamera::media_kindsrc/provider.rs:80 | method | 11 | 4 | 5 | 0 | 1.4 | |
| numbersrc/provider.rs:562 | fn | 8 | 3 | 5 | 0 | 1.3 | |
| valid_coordinatessrc/provider.rs:588 | fn | 3 | 4 | 5 | 0 | 1.3 | |
| digitraffic_station_namesrc/provider.rs:476 | fn | 16 | 6 | 2 | 0 | 1.1 | |
| https_urlsrc/provider.rs:582 | fn | 5 | 3 | 4 | 1 | 1.1 | |
| parse_sg_ltasrc/provider.rs:496 | fn | 31 | 2 | 3 | 4 | 1 | |
| truthysrc/provider.rs:571 | fn | 8 | 4 | 3 | 0 | 0.9 | |
| parse_caltranssrc/provider.rs:293 | fn | 45 | 2 | 3 | 6 | 0.9 | |
| parse_nyc_dotsrc/provider.rs:341 | fn | 30 | 2 | 3 | 6 | 0.8 | |
| parse_digitrafficsrc/provider.rs:421 | fn | 51 | 5 | 3 | 4 | 0.8 | |
| parse_tfl_jamcamssrc/provider.rs:375 | fn | 41 | 2 | 3 | 5 | 0.8 | |
| fake_camerassrc/provider.rs:530 | fn | 23 | 1 | 4 | 0 | 0.8 | |
| join_presentsrc/provider.rs:592 | fn | 4 | 1 | 2 | 0 | 0.7 | |
| fetch_jsonsrc/provider.rs:244 | fn | 9 | 2 | 2 | 0 | 0.7 | |
| fetch_stillsrc/provider.rs:264 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| fetch_camerassrc/provider.rs:225 | fn | 11 | 7 | 2 | 8 | 0.7 | |
| caltrans_district_urlsrc/provider.rs:268 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| wholesrc/provider.rs:237 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| fetch_caltranssrc/provider.rs:272 | fn | 16 | 4 | 1 | 3 | 0.6 | |
| PublicCamera::to_jsonsrc/provider.rs:92 | method | 18 | 1 | 0 | 0 | 0.5 | |
| ProviderInfo::to_jsonsrc/provider.rs:135 | method | 11 | 1 | 0 | 0 | 0.5 | |
| camera_ids_are_path_safe_and_provider_scopedsrc/provider.rs:602 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| caltrans_reads_string_coordinates_hls_and_cadencesrc/provider.rs:610 | fn | 44 | 1 | 0 | 3 | 0.5 | |
| nyc_dot_reads_string_online_flagssrc/provider.rs:656 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| tfl_jamcams_carry_still_and_clipsrc/provider.rs:673 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| digitraffic_emits_one_camera_per_collected_presetsrc/provider.rs:694 | fn | 21 | 1 | 0 | 2 | 0.5 | |
| digitraffic_station_names_put_the_place_firstsrc/provider.rs:717 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| sg_lta_captures_do_not_refresh_in_placesrc/provider.rs:724 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| unknown_shapes_parse_to_nothing_and_fake_needs_no_networksrc/provider.rs:737 | fn | 13 | 1 | 0 | 7 | 0.5 |
Source not readable from this process.