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-system crates cargo crate

Core infrastructure services for the CRE8 runtime (HttpFacade, JobPool, ProcessRegistry, Tracing).

crates/cre8-runtime-system · level 5 · 3,231 lines (2,393 code) · 10 files · 193 fns (49 tests) · cyclomatic Σ 354

9workspace deps
5direct dependents
257transitive dependents
39calls out
10calls in
396call-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 · 0 calls · incomplete scannormal dep · 7 calls · source referencenormal dep · 0 calls · manifest wiringnormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 4 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · incomplete scannormal dep · 5 calls · source referencenormal dep · 3 calls · source referencenormal dep · 7 calls · source referencenormal dep · 16 calls · source referencenormal dep · 2 calls · incomplete scanruntime-systemL5 · 2,393 linescre8-runtime-systemapp-coreL9 · 510 linescre8-app-coreruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-browserL31 · 445 linescre8-runtime-browserruntime-catalogL29 · 1,374 linescre8-runtime-catalogapp-network-clientL4 · 3,656 linescre8-app-network-clientplatform-entropyL3 · 59 linescre8-platform-entropyplatform-envL3 · 316 linescre8-platform-envplatform-httpL3 · 852 linescre8-platform-httpplatform-timeL3 · 65 linescre8-platform-timeruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-hostL1 · 1,649 linescre8-runtime-hostutil-cryptoL3 · 749 linescre8-util-cryptoutil-lock-extL0 · 195 linescre8-util-lock-extruntime-vmL10 · 4,285 linescre8-runtime-vm

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

functionkindlinescyclomaticcallerscalleesweightcrystal
AsyncIsland::with_job_poolsrc/async_island/mod.rs:161method311247.2
JobPool::with_defaultsrc/job_pool.rs:191method311247.2
JobPool::newsrc/job_pool.rs:163method27510223.5
AsyncIsland::newsrc/async_island/mod.rs:125method314221.8
AsyncIslandConfig::defaultsrc/async_island/mod.rs:65trait impl711220.6
JobPoolConfig::defaultsrc/job_pool.rs:62trait impl511120.6
env_usize_boundedsrc/job_pool.rs:78fn311218
worker_loopsrc/job_pool.rs:299fn1421110.5
AsyncIsland::new_with_max_pendingsrc/async_island/mod.rs:129method3153210
max_pending_tasks_from_envsrc/async_island/mod.rs:88fn61129.8
parse_bounded_worker_countsrc/async_island/mod.rs:80fn72209.6
parse_bounded_usizesrc/job_pool.rs:82fn72208.5
parse_bounded_max_pending_taskssrc/async_island/mod.rs:95fn72205.1
worker_loopsrc/async_island/mod.rs:327fn173134.7
now_mssrc/async_host_pending.rs:29fn31203.2
forget_inflightsrc/async_host_pending.rs:65fn921103
AsyncIsland::spawn_innersrc/async_island/mod.rs:188method275243
channelsrc/async_island/sync.rs:20fn41802.9
AsyncIsland::block_onsrc/async_island/mod.rs:219method1711212.4
get_fetch_envelopesrc/http_facade.rs:661fn221402.2
enqueue_envelopesrc/http_facade.rs:983fn31502.2
take_or_assignsrc/async_host_pending.rs:41fn2221112.1
JobPool::submitsrc/job_pool.rs:206method525822
native_platform_fetchsrc/http_facade.rs:289fn322522
Task::schedulesrc/async_island/task.rs:85method92312
islandsrc/async_island/mod.rs:432fn41822
take_pendingsrc/async_host_pending.rs:83fn31701.8
Task::poll_oncesrc/async_island/task.rs:98method565111.8
init_tracingsrc/tracing.rs:40fn424211.5
build_cache_key_with_headerssrc/http_facade.rs:942fn172421.5
AsyncIsland::spawn_blockingsrc/async_island/mod.rs:244method333431.4
retry_waitsrc/http_facade.rs:358fn71201.4
JobPoolStats::snapshotsrc/job_pool.rs:132method101101.4
FetchOptions::defaultsrc/http_facade.rs:53trait impl81501.4
panic_messagesrc/job_pool.rs:314fn93101.3
wasm_fetch_textsrc/http_facade.rs:725fn194271.3
wasm_fetch_bytessrc/http_facade.rs:746fn193251.3
panic_messagesrc/async_island/mod.rs:390fn93201.3
complete_errorsrc/async_host_pending.rs:105fn51301.2
native_get_retryingsrc/http_facade.rs:343fn132421.2

Outside the workspace

anyhow js-sys serde serde_json sha2 thiserror tracing tracing-subscriber wasm-bindgen