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-runtime-catalog crates cargo crate

Native runtime app catalog, provider registration, and context helpers.

crates/cre8-runtime-catalog · level 29 · 1,665 lines (1,374 code) · 22 files · 121 fns (16 tests) · cyclomatic Σ 185

44workspace deps
1direct dependents
5transitive dependents
165calls out
4calls in
94.4call-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 · 2 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 3 calls · source referencenormal dep · 2 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 6 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 3 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 3 calls · source referencenormal dep · 1 calls · source referencenormal dep · 3 calls · source referencenormal dep · 52 calls · source referencenormal dep · 11 calls · source referencenormal dep · 8 calls · source referencenormal dep · 6 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 5 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 3 calls · source referencenormal dep · 8 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 20 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencedev dep · 0 calls · incomplete scandev dep · 0 calls · incomplete scandev dep · 0 calls · incomplete scannormal dep · 4 calls · source referencedev dep · 0 calls · manifest wiringruntime-catalogL29 · 1,374 linescre8-runtime-catalogruntime-bootL30 · 1,463 linescre8-runtime-bootapp-audioL15 · 54,316 linescre8-app-audioapp-capitalstrategyL19 · 85,927 linescre8-app-capitalstrategyapp-cli-apiL7 · 76 linescre8-app-cli-apiapp-computeL14 · 94,808 linescre8-app-computeapp-conduitL14 · 79,226 linescre8-app-conduitapp-connectionL10 · 594 linescre8-app-connectionapp-gatewayL13 · 24,179 linescre8-app-gatewayapp-gateway-apiL7 · 500 linescre8-app-gateway-apiapp-interpretL11 · 13,233 linescre8-app-interpretapp-interpret-apiL7 · 291 linescre8-app-interpret-apiapp-marketL20 · 16,894 linescre8-app-marketapp-mcpL16 · 3,644 linescre8-app-mcpapp-mediaL7 · 2,437 linescre8-app-mediaapp-networkL11 · 15,383 linescre8-app-networkapp-peer-gossip-topicL7 · 69 linescre8-app-peer-gossip-topicapp-radioL17 · 10,687 linescre8-app-radioapp-tunnelL14 · 2,369 linescre8-app-tunnelapp-tvL18 · 24,131 linescre8-app-tvapp-validationL9 · 2,405 linescre8-app-validationapp-videoL15 · 9,827 linescre8-app-videoapp-viewL10 · 6,011 linescre8-app-viewplatform-envL3 · 316 linescre8-platform-envruntime-app-catalogL28 · 681 linescre8-runtime-app-catalogruntime-app-catalog-apiL0 · 96 linescre8-runtime-app-catalog-apiruntime-app-hostL8 · 437 linescre8-runtime-app-hostruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-boot-apiL7 · 187 linescre8-runtime-boot-apiruntime-boot-hostL7 · 956 linescre8-runtime-boot-hostruntime-catalog-apiL7 · 70 linescre8-runtime-catalog-apiruntime-configL7 · 553 linescre8-runtime-configruntime-connection-catalo…L1 · 580 linescre8-runtime-connection-catalog-apiruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-dispatch-hostL7 · 1,205 linescre8-runtime-dispatch-hostruntime-external-deps-apiL3 · 38 linescre8-runtime-external-deps-apiruntime-mcp-projection-apiL4 · 91 linescre8-runtime-mcp-projection-apiruntime-reflectionL3 · 3,332 linescre8-runtime-reflectionruntime-reflection-apiL4 · 158 linescre8-runtime-reflection-apiruntime-schema-apiL0 · 36 linescre8-runtime-schema-apiruntime-surface-apiL7 · 66 linescre8-runtime-surface-apiruntime-systemL5 · 2,393 linescre8-runtime-systemruntime-view-apiL7 · 158 linescre8-runtime-view-apiapp-locationL20 · 3,821 linescre8-app-locationapp-passport-modelL4 · 2,434 linescre8-app-passport-modeltest-helpersL29 · 557 linescre8-test-helpersapp-truthL7 · 20,485 linescre8-app-truthruntime-test-suiteL0 · 0 linescre8-runtime-test-suite

Files

lowhigh
crates/cre8-runtime-catalog/src/banner.rs · 21 lines · 1 fnsbanner.rscrates/cre8-runtime-catalog/src/decision_runtime.rs · 77 lines · 6 fnsdecision_runtime.rscrates/cre8-runtime-catalog/src/entrypoint.rs · 10 lines · 1 fnsentrypoint.…crates/cre8-runtime-catalog/src/entrypoint/adapter.rs · 61 lines · 7 fnsadapter.rscrates/cre8-runtime-catalog/src/entrypoint/providers/app_catalog.rs · 25 lines · 4 fnsapp_catalog.…crates/cre8-runtime-catalog/src/entrypoint/providers/boot.rs · 28 lines · 7 fnsboot.rscrates/cre8-runtime-catalog/src/entrypoint/providers/connection_catalog.rs · 299 lines · 24 fnsconnection_catalog.rscrates/cre8-runtime-catalog/src/entrypoint/providers/dispatch.rs · 139 lines · 16 fnsdispatch.rscrates/cre8-runtime-catalog/src/entrypoint/providers/external_deps.rs · 9 lines · 1 fnscrates/cre8-runtime-catalog/src/entrypoint/providers/gossip.rs · 4 lines · 1 fnsgossip.rscrates/cre8-runtime-catalog/src/entrypoint/providers/mcp_projection.rs · 44 lines · 6 fnsmcp_projection.rscrates/cre8-runtime-catalog/src/entrypoint/providers/media.rs · 21 lines · 1 fnsmedia.rscrates/cre8-runtime-catalog/src/entrypoint/providers/mod.rs · 95 lines · 1 fnsmod.rscrates/cre8-runtime-catalog/src/entrypoint/providers/reflection.rs · 120 lines · 9 fnsreflection.rscrates/cre8-runtime-catalog/src/entrypoint/providers/schema.rs · 8 lines · 1 fnscrates/cre8-runtime-catalog/src/entrypoint/providers/surface.rs · 41 lines · 1 fnssurface.rscrates/cre8-runtime-catalog/src/gateway_runtime.rs · 122 lines · 8 fnsgateway_runtime.rscrates/cre8-runtime-catalog/src/lib.rs · 33 lines · 4 fnslib.rscrates/cre8-runtime-catalog/src/platform.rs · 31 lines · 3 fnsplatform.rscrates/cre8-runtime-catalog/src/runtime.rs · 92 lines · 7 fnsruntime.rscrates/cre8-runtime-catalog/src/runtime_context.rs · 49 lines · 10 fnsruntime_context.rscrates/cre8-runtime-catalog/src/shutdown_tests.rs · 45 lines · 2 fnsshutdown_tests.rs

File call graph

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

1 calls1 calls2 calls4 calls7 calls13 calls15 calls1 calls1 calls6 calls1 calls8 calls1 calls1 calls1 calls1 calls2 calls1 calls5 calls2 calls1 calls3 calls1 calls7 calls2 callsmod.rsentrypoint::providerscrates/cre8-runtime-catalog/src/entrypoint/providers/mod.rs · 59 call sites in/outdispatch.rsentrypoint::providers::dispatchcrates/cre8-runtime-catalog/src/entrypoint/providers/dispatch.rs · 17 call sites in/outconnection_catalog.rsentrypoint::providers::connecti…crates/cre8-runtime-catalog/src/entrypoint/providers/connection_catalog.rs · 15 call sites in/outruntime.rsruntimecrates/cre8-runtime-catalog/src/runtime.rs · 15 call sites in/outlib.rscrate rootcrates/cre8-runtime-catalog/src/lib.rs · 12 call sites in/outruntime_context.rsruntime_contextcrates/cre8-runtime-catalog/src/runtime_context.rs · 10 call sites in/outreflection.rsentrypoint::providers::reflecti…crates/cre8-runtime-catalog/src/entrypoint/providers/reflection.rs · 9 call sites in/outboot.rsentrypoint::providers::bootcrates/cre8-runtime-catalog/src/entrypoint/providers/boot.rs · 7 call sites in/outmcp_projection.rsentrypoint::providers::mcp_proj…crates/cre8-runtime-catalog/src/entrypoint/providers/mcp_projection.rs · 6 call sites in/outdecision_runtime.rsdecision_runtimecrates/cre8-runtime-catalog/src/decision_runtime.rs · 5 call sites in/outapp_catalog.rsentrypoint::providers::app_cata…crates/cre8-runtime-catalog/src/entrypoint/providers/app_catalog.rs · 4 call sites in/outplatform.rsplatformcrates/cre8-runtime-catalog/src/platform.rs · 3 call sites in/outentrypoint.rsentrypointcrates/cre8-runtime-catalog/src/entrypoint.rs · 2 call sites in/outadapter.rsentrypoint::adaptercrates/cre8-runtime-catalog/src/entrypoint/adapter.rs · 2 call sites in/outgateway_runtime.rsgateway_runtimecrates/cre8-runtime-catalog/src/gateway_runtime.rs · 2 call sites in/outshutdown_tests.rsshutdown_testscrates/cre8-runtime-catalog/src/shutdown_tests.rs · 2 call sites in/outbanner.rsbannercrates/cre8-runtime-catalog/src/banner.rs · 1 call sites in/outexternal_deps.rsentrypoint::providers::external…crates/cre8-runtime-catalog/src/entrypoint/providers/external_deps.rs · 1 call sites in/outgossip.rsentrypoint::providers::gossipcrates/cre8-runtime-catalog/src/entrypoint/providers/gossip.rs · 1 call sites in/outmedia.rsentrypoint::providers::mediacrates/cre8-runtime-catalog/src/entrypoint/providers/media.rs · 1 call sites in/outschema.rsentrypoint::providers::schemacrates/cre8-runtime-catalog/src/entrypoint/providers/schema.rs · 1 call sites in/outsurface.rsentrypoint::providers::surfacecrates/cre8-runtime-catalog/src/entrypoint/providers/surface.rs · 1 call sites in/out

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
register_native_entrypointsrc/lib.rs:22fn411126.2
connection_is_auth_exemptsrc/entrypoint/providers/connection_catalog.rs:135fn8611843.4
register_native_entrypointsrc/entrypoint.rs:8fn61123.1
register_native_catalog_api_providersrc/lib.rs:27fn91143.1
sqlite_contextsrc/runtime_context.rs:25fn41422.3
declared_connection_owner_namesrc/entrypoint/providers/connection_catalog.rs:51fn398511.8
register_entrypoint_adapterssrc/entrypoint/adapter.rs:5fn71151.8
complete_shutdown_withsrc/runtime.rs:29fn274301.5
boot_sqlite_contextsrc/runtime_context.rs:47fn31121.5
GatewayAddrs::from_contextsrc/gateway_runtime.rs:16method181501.3
classify_connectionsrc/entrypoint/providers/connection_catalog.rs:8fn71221.2
sqlite_context_providersrc/lib.rs:37fn31111.2
boot_sqlite_context_providersrc/lib.rs:41fn31111.2
run_runtime_from_envsrc/runtime.rs:5fn111161.2
runtime_connection_ownersrc/entrypoint/providers/dispatch.rs:158fn153231.1
boot_contextsrc/runtime_context.rs:35fn51121.1
connection_declared_by_runtimesrc/entrypoint/providers/connection_catalog.rs:33fn32221.1
configure_gatewaysrc/gateway_runtime.rs:36fn232321
connection_known_to_runtime_routessrc/entrypoint/providers/connection_catalog.rs:37fn71211
connection_known_to_runtime_specssrc/entrypoint/providers/connection_catalog.rs:242fn71111
start_native_gatewaysrc/gateway_runtime.rs:61fn271180.9
print_gateway_disabledsrc/gateway_runtime.rs:89fn51100.9
connection_uses_raw_webhook_payloadsrc/entrypoint/providers/connection_catalog.rs:222fn111200.9
register_native_media_connectorssrc/entrypoint/adapter.rs:14fn81140.8
register_mcp_handlersrc/entrypoint/adapter.rs:55fn31120.8
register_runtime_bridgessrc/entrypoint/adapter.rs:59fn121160.8
register_runtime_host_providerssrc/entrypoint/providers/mod.rs:13fn8711750.8
all_connection_specssrc/entrypoint/providers/connection_catalog.rs:1fn61320.8
mark_decision_loop_activesrc/decision_runtime.rs:59fn91100.8
boot_context_with_appssrc/runtime_context.rs:41fn51220.7
requires_protocol_bindingsrc/entrypoint/providers/connection_catalog.rs:110fn82210.7
compile_app_structuresrc/entrypoint/providers/reflection.rs:38fn61220.7
normalize_protocol_idsrc/entrypoint/providers/connection_catalog.rs:250fn31100.7
default_contextsrc/runtime_context.rs:15fn41120.7
apply_boot_overridessrc/runtime_context.rs:58fn31100.7
print_boot_bannersrc/banner.rs:3fn213130.7
run_boot_phasesrc/decision_runtime.rs:18fn92120.7
decision_event_channelsrc/decision_runtime.rs:28fn82110.7
run_decision_phasesrc/decision_runtime.rs:37fn192120.7
run_cli_phasesrc/decision_runtime.rs:69fn163150.7

Outside the workspace

anyhow dotenvy serde_json tracing tungstenite