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

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

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

17workspace deps
2direct dependents
92transitive dependents
83calls out
14calls in
224call-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-contracts (normal), cre8-runtime-system (normal), cre8-util-lock-ext (normal).

normal dep · 6 callsnormal dep · 8 callsdev dep · 0 calls · never namednormal dep · 9 callsnormal dep · 22 callsnormal dep · 5 callsnormal dep · 2 callsnormal dep · 3 callsnormal dep · 3 callsnormal dep · 2 callsnormal dep · 3 callsnormal dep · 8 callsnormal dep · 2 calls · never namednormal dep · 0 callsnormal dep · 0 callsnormal dep · 2 calls · never namednormal dep · 14 callsnormal dep · 4 callsnormal dep · 0 calls · never namednormal dep · 4 callsruntime-vmL9 · 4,285 linescre8-runtime-vmapp-cliL13 · 3,200 linescre8-app-cliapp-interpretL10 · 13,240 linescre8-app-interpretruntime-test-suiteL0 · 0 linescre8-runtime-test-suiteapp-network-clientL4 · 3,590 linescre8-app-network-clientapp-protocolL8 · 25,151 linescre8-app-protocolapp-protocol-identityL0 · 3,303 linescre8-app-protocol-identityapp-protocol-observationL1 · 867 linescre8-app-protocol-observationapp-truthL6 · 20,464 linescre8-app-truthplatform-envL3 · 316 linescre8-platform-envplatform-fsL0 · 207 linescre8-platform-fsplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL5 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,077 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-kernelL4 · 2,699 linescre8-runtime-kernelruntime-systemL4 · 2,388 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/vm_runtime_support.rs:740fn31915.1
VmExecutionRequest::from_payloadsrc/backend.rs:56method26115143.6
is_hex_64src/vm_runtime_support.rs:744fn32403.2
VmBackend::newsrc/backend.rs:194method311603
with_protocol_storesrc/vm_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.5
VmBackend::run_source_with_contextsrc/backend.rs:212method373452.4
object_from_payloadsrc/backend.rs:292fn102302.3
runtime_rust_value_to_jsonsrc/vm_runtime_support.rs:47fn31512
receipt_hex_fieldsrc/vm_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.8
parse_proof_depth_valuesrc/backend.rs:383fn73221.7
TinyVm::ingestsrc/tiny_vm.rs:13method234101.7
trace_requestedsrc/vm_exec.rs:33fn31401.6
cached_payload_is_trustedsrc/vm_runtime_support.rs:419fn111621.5
cached_l2_l3_proof_is_trustedsrc/vm_runtime_support.rs:356fn123131.4
VmBackend::run_dslsrc/backend.rs:202method31211.4
hash_ir_execution_requestsrc/vm_runtime_support.rs:79fn161411.4
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/vm_runtime_support.rs:35fn31301.2
string_bool_from_valuesrc/vm_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/vm_runtime_support.rs:43fn31211.2
persist_trace_contract_if_requestedsrc/vm_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/vm_exec.rs:1294fn181141.1

Outside the workspace

anyhow base64 cre8-vm hyperdb serde serde_json sha2 thiserror tracing