Skip to content
1 viewer

rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off

cre8-runtime-browser crates cargo crate

WASM entry point and orchestrator for the CRE8 browser runtime.

crates/cre8-runtime-browser · level 30 · 532 lines (445 code) · 7 files · 47 fns (0 tests) · cyclomatic Σ 64

19workspace deps
0direct dependents
0transitive dependents
52calls out
0calls in
28.6call-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.

Declared but never named in this crate's source: cre8-runtime-host (normal), cre8-runtime-reflection (normal), cre8-runtime-system (normal).

normal dep · 4 callsnormal dep · 0 callsnormal dep · 1 callsnormal dep · 1 callsnormal dep · 21 callsnormal dep · 8 callsnormal dep · 1 callsnormal dep · 1 callsnormal dep · 6 callsnormal dep · 3 callsnormal dep · 0 callsnormal dep · 0 callsnormal dep · 1 callsnormal dep · 3 callsnormal dep · 0 calls · never namednormal dep · 0 calls · never namednormal dep · 1 callsnormal dep · 0 calls · never namednormal dep · 1 callsruntime-browserL30 · 445 linescre8-runtime-browserapp-gatewayL12 · 23,741 linescre8-app-gatewayapp-view-domL8 · 5,037 linescre8-app-view-domruntime-app-catalogL27 · 676 linescre8-runtime-app-catalogruntime-app-catalog-apiL0 · 96 linescre8-runtime-app-catalog-apiruntime-app-hostL7 · 451 linescre8-runtime-app-hostruntime-app-typesL5 · 2,860 linescre8-runtime-app-typesruntime-bootL29 · 1,463 linescre8-runtime-bootruntime-boot-apiL6 · 187 linescre8-runtime-boot-apiruntime-boot-hostL6 · 956 linescre8-runtime-boot-hostruntime-browser-contextL7 · 186 linescre8-runtime-browser-contextruntime-contractsL0 · 6,077 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-dispatch-apiL6 · 496 linescre8-runtime-dispatch-apiruntime-dispatch-hostL6 · 1,205 linescre8-runtime-dispatch-hostruntime-hostL1 · 1,649 linescre8-runtime-hostruntime-reflectionL3 · 3,332 linescre8-runtime-reflectionruntime-surface-apiL6 · 66 linescre8-runtime-surface-apiruntime-systemL4 · 2,388 linescre8-runtime-systemruntime-view-apiL6 · 158 linescre8-runtime-view-api

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). 47 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
runtime_snapshot_cellsrc/lib.rs:34fn31201.9
runtime_hostsrc/lib.rs:53fn31301.8
runtime_snapshot_or_errorsrc/lib.rs:44fn82311.1
runtime_dispatch_connectionsrc/entrypoint/providers/dispatch.rs:11fn141241
runtime_app_namessrc/entrypoint/providers/dispatch.rs:74fn31211
declared_connection_ownersrc/entrypoint/providers/dispatch.rs:109fn101200.8
register_browser_runtime_providerssrc/entrypoint/providers/mod.rs:6fn3711320.7
set_runtime_snapshotsrc/lib.rs:38fn52110.5
init_runtime_hostsrc/lib.rs:58fn41100.5
WasmHost::with_emitsrc/lib.rs:204method31100.5
runtime_app_catalogsrc/entrypoint/providers/app_catalog.rs:1fn111120.5
runtime_domain_app_namessrc/entrypoint/providers/app_catalog.rs:13fn31110.5
runtime_app_profile_namesrc/entrypoint/providers/app_catalog.rs:17fn31100.5
runtime_catalog_target_namesrc/entrypoint/providers/app_catalog.rs:21fn31110.5
prepare_shutdownsrc/entrypoint/providers/boot.rs:5fn31120.5
finish_shutdownsrc/entrypoint/providers/boot.rs:9fn31120.5
run_boot_graphsrc/entrypoint/providers/boot.rs:13fn31120.5
run_boot_graph_with_appssrc/entrypoint/providers/boot.rs:17fn31110.5
hydrate_runtime_appssrc/entrypoint/providers/boot.rs:21fn51130.5
install_gateway_runtime_callsrc/entrypoint/providers/boot.rs:27fn31100.5
start_provider_listenerssrc/entrypoint/providers/boot.rs:31fn31100.5
runtime_connect_appsrc/entrypoint/providers/dispatch.rs:6fn41110.5
runtime_dispatch_app_connectionsrc/entrypoint/providers/dispatch.rs:26fn91120.5
runtime_dispatch_connection_responsesrc/entrypoint/providers/dispatch.rs:36fn71110.5
runtime_dispatch_raw_httpsrc/entrypoint/providers/dispatch.rs:44fn61100.5
runtime_dispatch_ws_messagesrc/entrypoint/providers/dispatch.rs:51fn104110.5
runtime_boot_appsrc/entrypoint/providers/dispatch.rs:62fn31110.5
runtime_init_appsrc/entrypoint/providers/dispatch.rs:66fn31120.5
runtime_handle_appsrc/entrypoint/providers/dispatch.rs:70fn31110.5
runtime_routessrc/entrypoint/providers/dispatch.rs:78fn31120.5
runtime_app_summariessrc/entrypoint/providers/dispatch.rs:82fn161130.5
runtime_app_handles_connectionsrc/entrypoint/providers/dispatch.rs:99fn92140.5
runtime_connection_has_handlersrc/entrypoint/providers/dispatch.rs:120fn162130.5
runtime_surface_jsonsrc/entrypoint/providers/surface.rs:3fn331110.5
register_browser_entrypointsrc/entrypoint.rs:11fn61020.5
register_browser_entrypointsrc/entrypoint.rs:19fn11000.5
create_runtime_with_hostsrc/lib.rs:64fn542080.5
validatesrc/lib.rs:120fn163020.5
statussrc/lib.rs:138fn72020.5
routessrc/lib.rs:147fn72020.5

Outside the workspace

anyhow js-sys serde serde_json wasm-bindgen wasm-bindgen-futures web-sys