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

cre8-app-utility utility cargo crate

UtilityApp — extracted RuntimeApp crate.

crates/cre8-app-utility · level 9 · 476 lines (411 code) · 3 files · 23 fns (11 tests) · cyclomatic Σ 34

6workspace deps
1direct dependents
8transitive dependents
8calls out
0calls in
20call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 5 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencedev dep · 1 calls · source referencenormal dep · 0 calls · source referenceapp-utilityL9 · 411 linescre8-app-utilityapp-actionL8 · 3,135 linescre8-app-actionplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostapp-truthL7 · 20,485 linescre8-app-truthruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
consumesrc/connection.rs:65fn584453.2
get_non_empty_refsrc/connection.rs:141fn31302.7
get_first_non_emptysrc/connection.rs:145fn31211.5
connectsrc/connection.rs:34fn154311.3
truth_contextsrc/connection.rs:154fn31411.1
default_action_kindsrc/connection.rs:124fn73101
default_unitsrc/connection.rs:132fn84101
handle_utility_consumesrc/connection.rs:50fn41110.6
handle_water_consumesrc/connection.rs:55fn41110.6
handle_energy_consumesrc/connection.rs:60fn41110.6
UtilityApp::metasrc/app.rs:89trait impl31000.5
UtilityApp::connectsrc/app.rs:93trait impl31010.5
UtilityApp::connection_handlerssrc/app.rs:97trait impl31000.5
utility_app_exposes_meta_routes_specs_and_handlerssrc/app.rs:109fn231000.5
utility_app_delegates_connect_to_status_handlersrc/app.rs:134fn101010.5
test_utility_input_deserializationsrc/connection.rs:159fn171000.5
test_get_non_empty_refsrc/connection.rs:178fn71010.5
first_non_empty_prefers_primary_then_trimmed_fallbacksrc/connection.rs:187fn111010.5
connect_status_unknown_and_invalid_inputs_are_stablesrc/connection.rs:200fn141020.5
generic_consume_defaults_and_records_utility_eventsrc/connection.rs:216fn241030.5
water_handler_applies_drink_defaults_and_preserves_existing_payload_fieldssrc/connection.rs:242fn241030.5
energy_handler_maps_to_electricity_and_carries_location_time_and_sourcesrc/connection.rs:268fn341030.5
explicit_compute_resource_kind_uses_compute_defaults_and_fallback_object_idsrc/connection.rs:304fn191030.5

Outside the workspace

anyhow serde serde_json