Skip to content
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-transport-routing/src/provider.rs

cre8-app-transport-routing · module provider · src · 966 lines (813 code, 12 comment) · sha c38a2a6caee1f309

Items

struct Coordinate struct RoutingRequest trait RoutingProvider struct OsrmProvider impl OsrmProvider impl RoutingProvider for OsrmProvider struct GoogleRoutingProvider impl GoogleRoutingProvider impl RoutingProvider for GoogleRoutingProvider struct BingRoutingProvider impl BingRoutingProvider impl RoutingProvider for BingRoutingProvider struct NormalizedLeg struct GeodesicRoutingProvider impl GeodesicRoutingProvider impl RoutingProvider for GeodesicRoutingProvider type SharedProvider static REG struct ProviderOverrideGuard impl Drop for ProviderOverrideGuard struct EnvGuard impl EnvGuard impl Drop for EnvGuard static LOCK struct MockProvider impl RoutingProvider for MockProvider

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
override_registrysrc/provider.rs:583fn41302.7
nested_f64src/provider.rs:460fn31101.8
format_lat_lonsrc/provider.rs:456fn31301.7
routing_requestsrc/provider.rs:820fn101601.6
google_leg_to_osrmsrc/provider.rs:268fn111111.6
bing_resource_to_osrmsrc/provider.rs:387fn81101.6
provider_keysrc/provider.rs:442fn51211.4
parse_coordinates_strsrc/provider.rs:81fn194301.3
google_route_legssrc/provider.rs:260fn71111.3
bing_resources_to_routessrc/provider.rs:383fn31111.3
resolve_providersrc/provider.rs:611fn31321.2
parse_coordinate_itemsrc/provider.rs:48fn93121.2
set_provider_overridesrc/provider.rs:590fn72411.1
EnvGuard::setsrc/provider.rs:640method71401
provider_env_locksrc/provider.rs:669fn41401
provider_overridesrc/provider.rs:615fn41111
built_in_providersrc/provider.rs:620fn95101
parse_coordinate_pairsrc/provider.rs:58fn82101
parse_coordinate_objectsrc/provider.rs:67fn131101
format_coordinates_strsrc/provider.rs:101fn31301
normalize_google_to_osrmsrc/provider.rs:224fn151221
normalize_bing_to_osrmsrc/provider.rs:348fn151221
bing_route_typesrc/provider.rs:335fn62101
google_step_to_osrmsrc/provider.rs:288fn71100.9
bing_leg_to_osrmsrc/provider.rs:411fn81100.9
bing_step_to_osrmsrc/provider.rs:428fn71100.9
nested_valuesrc/provider.rs:464fn31100.9
interpolate_geodesicsrc/provider.rs:551fn272200.9
ensure_google_statussrc/provider.rs:240fn92100.9
google_route_to_osrmsrc/provider.rs:250fn91110.9
ensure_bing_statussrc/provider.rs:364fn112100.9
bing_set_routessrc/provider.rs:376fn61110.9
parse_coordinates_arraysrc/provider.rs:37fn103110.9
parse_coordinatessrc/provider.rs:29fn73220.8
fetch_text_with_headerssrc/provider.rs:139fn51300.8
haversine_distancesrc/provider.rs:538fn121100.7
EnvGuard::unsetsrc/provider.rs:648method71200.7
google_modesrc/provider.rs:210fn84100.7
google_waypointssrc/provider.rs:219fn41110.7
ensure_routing_coordinatessrc/provider.rs:448fn32200.6
borrowed_querysrc/provider.rs:452fn31200.6
set_test_http_responsesrc/provider.rs:161fn51100.6
google_maps_keysrc/provider.rs:191fn71110.6
google_route_querysrc/provider.rs:199fn101130.6
bing_maps_keysrc/provider.rs:323fn71110.6
bing_route_urlsrc/provider.rs:331fn31110.6
bing_route_querysrc/provider.rs:342fn51110.6
OsrmProvider::idsrc/provider.rs:114trait impl31000.5
OsrmProvider::find_routesrc/provider.rs:118trait impl181030.5
fetch_text_with_headerssrc/provider.rs:151fn81000.5
GoogleRoutingProvider::idsrc/provider.rs:176trait impl31000.5
GoogleRoutingProvider::find_routesrc/provider.rs:180trait impl91060.5
google_leg_stepssrc/provider.rs:280fn71010.5
google_overview_geometrysrc/provider.rs:296fn31010.5
BingRoutingProvider::idsrc/provider.rs:309trait impl31000.5
BingRoutingProvider::find_routesrc/provider.rs:313trait impl81070.5
bing_geometrysrc/provider.rs:396fn61000.5
bing_resource_legssrc/provider.rs:403fn71010.5
bing_leg_stepssrc/provider.rs:420fn71010.5
meters_from_kmsrc/provider.rs:468fn31000.5
GeodesicRoutingProvider::idsrc/provider.rs:481trait impl31000.5
GeodesicRoutingProvider::find_routesrc/provider.rs:485trait impl514020.5
ProviderOverrideGuard::dropsrc/provider.rs:603trait impl52010.5
EnvGuard::dropsrc/provider.rs:658trait impl92000.5
env_guard_restores_existing_valuesrc/provider.rs:675fn141020.5
MockProvider::idsrc/provider.rs:692trait impl31000.5
MockProvider::find_routesrc/provider.rs:695trait impl31000.5
test_coordinate_parsingsrc/provider.rs:701fn101020.5
coordinate_parsing_covers_array_object_and_error_shapessrc/provider.rs:713fn231020.5
test_override_resolutionsrc/provider.rs:738fn121030.5
provider_ids_and_osrm_noop_fetch_path_are_stablesrc/provider.rs:752fn121010.5
providers_parse_mocked_success_responsessrc/provider.rs:766fn181040.5
test_geodesic_routingsrc/provider.rs:786fn241010.5
geodesic_routing_rejects_short_requests_and_interpolates_close_pointssrc/provider.rs:812fn71020.5
google_provider_covers_key_coordinate_and_fetch_error_pathssrc/provider.rs:832fn271040.5
google_normalizer_covers_success_defaults_and_error_statussrc/provider.rs:861fn381010.5
bing_provider_covers_key_coordinate_and_fetch_error_pathssrc/provider.rs:901fn211040.5
bing_normalizer_covers_success_defaults_and_error_statussrc/provider.rs:924fn421010.5

Source not readable from this process.