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

Execution Layer for the CRE8 runtime. Bridges to CRE8VM and manages protocol-level execution.

crates/cre8-runtime-vm · level 10 · 4,879 lines (4,285 code) · 9 files · 267 fns (46 tests) · cyclomatic Σ 527

17workspace deps
2direct dependents
88transitive dependents
83calls out
14calls in
223call-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 · 6 calls · source referencenormal dep · 8 calls · source referencedev dep · 0 calls · incomplete scannormal dep · 9 calls · source referencenormal dep · 22 calls · source referencenormal dep · 5 calls · source referencenormal dep · 2 calls · source referencenormal dep · 3 calls · source referencenormal dep · 3 calls · source referencenormal dep · 2 calls · source referencenormal dep · 3 calls · source referencenormal dep · 8 calls · source referencenormal dep · 2 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 2 calls · incomplete scannormal dep · 14 calls · source referencenormal dep · 4 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 4 calls · source referenceruntime-vmL10 · 4,285 linescre8-runtime-vmapp-cliL14 · 3,200 linescre8-app-cliapp-interpretL11 · 13,233 linescre8-app-interpretruntime-test-suiteL0 · 0 linescre8-runtime-test-suiteapp-network-clientL4 · 3,656 linescre8-app-network-clientapp-protocolL9 · 26,097 linescre8-app-protocolapp-protocol-identityL0 · 3,303 linescre8-app-protocol-identityapp-protocol-observationL1 · 867 linescre8-app-protocol-observationapp-truthL7 · 20,485 linescre8-app-truthplatform-envL3 · 316 linescre8-platform-envplatform-fsL0 · 207 linescre8-platform-fsplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-kernelL4 · 2,699 linescre8-runtime-kernelruntime-systemL5 · 2,393 linescre8-runtime-systemutil-cryptoL3 · 749 linescre8-util-cryptoutil-ir-aliasL1 · 99 linescre8-util-ir-aliasutil-lock-extL0 · 195 linescre8-util-lock-extutil-vm-valueL0 · 446 linescre8-util-vm-value

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

functionkindlinescyclomaticcallerscalleesweightcrystal
hash_canonical_jsonsrc/runtime_support.rs:740fn31915.1
VmExecutionRequest::from_payloadsrc/backend.rs:56method26115143.6
is_hex_64src/runtime_support.rs:744fn32403.2
VmBackend::newsrc/backend.rs:194method311602.9
with_protocol_storesrc/runtime_support.rs:18fn811112.9
ingest_app_containersrc/installer.rs:68fn362762.6
compute_linked_hashsrc/linker.rs:205fn92102.6
link_ir_graphssrc/linker.rs:35fn304812.4
VmBackend::run_source_with_contextsrc/backend.rs:212method373452.3
object_from_payloadsrc/backend.rs:292fn102302.3
runtime_rust_value_to_jsonsrc/runtime_support.rs:47fn31512
receipt_hex_fieldsrc/runtime_support.rs:144fn31311.9
VmBackend::run_sourcesrc/backend.rs:206method311011.8
backend_hint_from_envsrc/backend.rs:180fn31211.8
make_graphsrc/linker.rs:71fn151601.7
parse_proof_depth_valuesrc/backend.rs:383fn73221.7
TinyVm::ingestsrc/tiny_vm.rs:13method234101.7
trace_requestedsrc/exec.rs:33fn31401.5
cached_payload_is_trustedsrc/runtime_support.rs:419fn111621.5
cached_l2_l3_proof_is_trustedsrc/runtime_support.rs:356fn123131.4
VmBackend::run_dslsrc/backend.rs:202method31211.4
hash_ir_execution_requestsrc/runtime_support.rs:79fn161411.3
response_errorsrc/component_host.rs:73fn71301.3
verify_manifest_trustsrc/install_trust.rs:73fn143521.3
canonical_signing_bytessrc/install_trust.rs:63fn61211.3
fixturesrc/install_trust.rs:189fn221601.3
InstallTrustPolicy::parsesrc/install_trust.rs:120method73201.3
parse_proof_depth_numbersrc/backend.rs:391fn84101.2
parse_proof_depth_strsrc/backend.rs:400fn84101.2
string_bool_fromsrc/runtime_support.rs:35fn31301.2
string_bool_from_valuesrc/runtime_support.rs:39fn31301.2
enforce_install_trustsrc/install_trust.rs:147fn103331.2
needs_pollsrc/component_host.rs:59fn95221.2
normalize_arg_keysrc/backend.rs:286fn32201.2
json_value_to_runtime_rustsrc/runtime_support.rs:43fn31211.2
persist_trace_contract_if_requestedsrc/exec.rs:50fn384241.2
default_source_backend_kindsrc/backend.rs:154fn41321.2
collect_app_container_candidatesrc/installer.rs:198fn133121.1
install_network_feed_manifestsrc/installer.rs:282fn71111.1
insert_program_units_execution_summarysrc/exec.rs:1294fn181141.1

Outside the workspace

anyhow base64 cre8-vm hyperdb serde serde_json sha2 thiserror tracing