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).
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.
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| AsyncIsland::with_job_poolsrc/async_island/mod.rs:161 | method | 3 | 1 | 1 | 2 | 47.2 | |
| JobPool::with_defaultsrc/job_pool.rs:191 | method | 3 | 1 | 1 | 2 | 47.2 | |
| JobPool::newsrc/job_pool.rs:163 | method | 27 | 5 | 10 | 2 | 23.5 | |
| AsyncIsland::newsrc/async_island/mod.rs:125 | method | 3 | 1 | 4 | 2 | 21.8 | |
| AsyncIslandConfig::defaultsrc/async_island/mod.rs:65 | trait impl | 7 | 1 | 1 | 2 | 20.6 | |
| JobPoolConfig::defaultsrc/job_pool.rs:62 | trait impl | 5 | 1 | 1 | 1 | 20.6 | |
| env_usize_boundedsrc/job_pool.rs:78 | fn | 3 | 1 | 1 | 2 | 18 | |
| worker_loopsrc/job_pool.rs:299 | fn | 14 | 2 | 1 | 1 | 10.5 | |
| AsyncIsland::new_with_max_pendingsrc/async_island/mod.rs:129 | method | 31 | 5 | 3 | 2 | 10 | |
| max_pending_tasks_from_envsrc/async_island/mod.rs:88 | fn | 6 | 1 | 1 | 2 | 9.8 | |
| parse_bounded_worker_countsrc/async_island/mod.rs:80 | fn | 7 | 2 | 2 | 0 | 9.6 | |
| parse_bounded_usizesrc/job_pool.rs:82 | fn | 7 | 2 | 2 | 0 | 8.5 | |
| parse_bounded_max_pending_taskssrc/async_island/mod.rs:95 | fn | 7 | 2 | 2 | 0 | 5.1 | |
| worker_loopsrc/async_island/mod.rs:327 | fn | 17 | 3 | 1 | 3 | 4.7 | |
| now_mssrc/async_host_pending.rs:29 | fn | 3 | 1 | 2 | 0 | 3.2 | |
| forget_inflightsrc/async_host_pending.rs:65 | fn | 9 | 2 | 11 | 0 | 3 | |
| AsyncIsland::spawn_innersrc/async_island/mod.rs:188 | method | 27 | 5 | 2 | 4 | 3 | |
| channelsrc/async_island/sync.rs:20 | fn | 4 | 1 | 8 | 0 | 2.9 | |
| AsyncIsland::block_onsrc/async_island/mod.rs:219 | method | 17 | 1 | 12 | 1 | 2.4 | |
| get_fetch_envelopesrc/http_facade.rs:661 | fn | 22 | 1 | 4 | 0 | 2.2 | |
| enqueue_envelopesrc/http_facade.rs:983 | fn | 3 | 1 | 5 | 0 | 2.2 | |
| take_or_assignsrc/async_host_pending.rs:41 | fn | 22 | 2 | 11 | 1 | 2.1 | |
| JobPool::submitsrc/job_pool.rs:206 | method | 52 | 5 | 8 | 2 | 2 | |
| native_platform_fetchsrc/http_facade.rs:289 | fn | 32 | 2 | 5 | 2 | 2 | |
| Task::schedulesrc/async_island/task.rs:85 | method | 9 | 2 | 3 | 1 | 2 | |
| islandsrc/async_island/mod.rs:432 | fn | 4 | 1 | 8 | 2 | 2 | |
| take_pendingsrc/async_host_pending.rs:83 | fn | 3 | 1 | 7 | 0 | 1.8 | |
| Task::poll_oncesrc/async_island/task.rs:98 | method | 56 | 5 | 1 | 1 | 1.8 | |
| init_tracingsrc/tracing.rs:40 | fn | 42 | 4 | 2 | 1 | 1.5 | |
| build_cache_key_with_headerssrc/http_facade.rs:942 | fn | 17 | 2 | 4 | 2 | 1.5 | |
| AsyncIsland::spawn_blockingsrc/async_island/mod.rs:244 | method | 33 | 3 | 4 | 3 | 1.4 | |
| retry_waitsrc/http_facade.rs:358 | fn | 7 | 1 | 2 | 0 | 1.4 | |
| JobPoolStats::snapshotsrc/job_pool.rs:132 | method | 10 | 1 | 1 | 0 | 1.4 | |
| FetchOptions::defaultsrc/http_facade.rs:53 | trait impl | 8 | 1 | 5 | 0 | 1.4 | |
| panic_messagesrc/job_pool.rs:314 | fn | 9 | 3 | 1 | 0 | 1.3 | |
| wasm_fetch_textsrc/http_facade.rs:725 | fn | 19 | 4 | 2 | 7 | 1.3 | |
| wasm_fetch_bytessrc/http_facade.rs:746 | fn | 19 | 3 | 2 | 5 | 1.3 | |
| panic_messagesrc/async_island/mod.rs:390 | fn | 9 | 3 | 2 | 0 | 1.3 | |
| complete_errorsrc/async_host_pending.rs:105 | fn | 5 | 1 | 3 | 0 | 1.2 | |
| native_get_retryingsrc/http_facade.rs:343 | fn | 13 | 2 | 4 | 2 | 1.2 |
Outside the workspace
anyhow js-sys serde serde_json sha2 thiserror tracing tracing-subscriber wasm-bindgen