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

Foundation of the CRE8 runtime. Defines the RuntimeApp trait and the RuntimeContext.

crates/cre8-runtime-kernel · level 4 · 3,309 lines (2,699 code) · 11 files · 191 fns (95 tests) · cyclomatic Σ 272

8workspace deps
3direct dependents
257transitive dependents
26calls out
0calls in
148call-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 · source referencedev dep · 0 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 2 calls · source referencenormal dep · 13 calls · source referencenormal dep · 0 calls · source referencenormal dep · 7 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referenceruntime-kernelL4 · 2,699 linescre8-runtime-kernelapp-protocolL9 · 26,097 linescre8-app-protocolruntimeL31 · 4 linescre8-runtimeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesplatform-entropyL3 · 59 linescre8-platform-entropyplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-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). 191 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
permissive_policysrc/value_ledger.rs:628fn312906.6
creditsrc/value_ledger.rs:636fn514114.4
ValueLedger::get_balancessrc/value_ledger.rs:66method313403.3
pascal_to_snakesrc/naming.rs:18fn236522.9
ValueLedger::reserved_forsrc/value_ledger.rs:169method312602.6
ValueLedger::credit_availablesrc/value_ledger.rs:603method41402.3
strict_policysrc/value_ledger.rs:632fn311802.1
browser_hash_hexsrc/context.rs:150fn51412.1
ValueLedger::state_root_wheresrc/value_ledger.rs:519method178221.8
starts_snake_wordsrc/naming.rs:42fn73121.7
push_separatorsrc/naming.rs:58fn53101.7
servicesrc/services.rs:45fn31101.7
pascal_casesrc/naming.rs:3fn121201.7
ValueLedger::total_reservedsrc/value_ledger.rs:175method32701.7
RuntimeContext::newsrc/context.rs:79method361861.7
ValueLedger::state_rootsrc/value_ledger.rs:512method31611.5
service_orsrc/services.rs:49fn31211.4
ValueLedger::ensure_reserved_amountsrc/value_ledger.rs:575method192201.4
state_leafsrc/value_ledger.rs:612fn112111.3
propssrc/connection_domain.rs:49fn31101.3
ValueLedger::debit_reserved_precheckedsrc/value_ledger.rs:595method72301.2
previous_is_word_tailsrc/naming.rs:50fn32101.2
next_starts_wordsrc/naming.rs:54fn31101.2
ValueLedger::settle_direct_groupsrc/value_ledger.rs:369method4412811.2
generated_browser_peer_idsrc/context.rs:170fn112211.1
runtime_entropy_noncesrc/context.rs:156fn31311.1
directsrc/value_ledger.rs:1058fn31701.1
legsrc/value_ledger.rs:642fn91801.1
RuntimeContext::emit_eventsrc/events.rs:7trait impl151211
RuntimeContext::drain_eventssrc/events.rs:23trait impl31101
ValueLedger::settle_reserved_pairsrc/value_ledger.rs:288method191651
ValueLedger::settle_mixed_groupsrc/value_ledger.rs:427method7316721
mixedsrc/value_ledger.rs:1155fn91701
runtime_unix_nanossrc/context.rs:160fn31210.9
RuntimeApp::bootsrc/lib.rs:49trait default31200.9
RuntimeApp::handlesrc/lib.rs:52trait default31200.9
RuntimeApp::connectsrc/lib.rs:66trait default31200.9
RuntimeApp::connection_handlerssrc/lib.rs:109trait default31200.9
required_props_for_vertexsrc/connection_domain.rs:42fn61110.9
normalize_connection_namesrc/connection_invoke.rs:31fn72110.9

Outside the workspace

anyhow cre8-vm-contracts hyperdb serde serde_json thiserror