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.
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).
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| hash_canonical_jsonsrc/vm_runtime_support.rs:740 | fn | 3 | 1 | 9 | 1 | 5.1 | |
| VmExecutionRequest::from_payloadsrc/backend.rs:56 | method | 26 | 1 | 15 | 14 | 3.6 | |
| is_hex_64src/vm_runtime_support.rs:744 | fn | 3 | 2 | 4 | 0 | 3.2 | |
| VmBackend::newsrc/backend.rs:194 | method | 3 | 1 | 16 | 0 | 3 | |
| with_protocol_storesrc/vm_runtime_support.rs:18 | fn | 8 | 1 | 11 | 1 | 2.9 | |
| ingest_app_containersrc/installer.rs:68 | fn | 36 | 2 | 7 | 6 | 2.6 | |
| compute_linked_hashsrc/linker.rs:205 | fn | 9 | 2 | 1 | 0 | 2.6 | |
| link_ir_graphssrc/linker.rs:35 | fn | 30 | 4 | 8 | 1 | 2.5 | |
| VmBackend::run_source_with_contextsrc/backend.rs:212 | method | 37 | 3 | 4 | 5 | 2.4 | |
| object_from_payloadsrc/backend.rs:292 | fn | 10 | 2 | 3 | 0 | 2.3 | |
| runtime_rust_value_to_jsonsrc/vm_runtime_support.rs:47 | fn | 3 | 1 | 5 | 1 | 2 | |
| receipt_hex_fieldsrc/vm_runtime_support.rs:144 | fn | 3 | 1 | 3 | 1 | 1.9 | |
| VmBackend::run_sourcesrc/backend.rs:206 | method | 3 | 1 | 10 | 1 | 1.8 | |
| backend_hint_from_envsrc/backend.rs:180 | fn | 3 | 1 | 2 | 1 | 1.8 | |
| make_graphsrc/linker.rs:71 | fn | 15 | 1 | 6 | 0 | 1.8 | |
| parse_proof_depth_valuesrc/backend.rs:383 | fn | 7 | 3 | 2 | 2 | 1.7 | |
| TinyVm::ingestsrc/tiny_vm.rs:13 | method | 23 | 4 | 1 | 0 | 1.7 | |
| trace_requestedsrc/vm_exec.rs:33 | fn | 3 | 1 | 4 | 0 | 1.6 | |
| cached_payload_is_trustedsrc/vm_runtime_support.rs:419 | fn | 11 | 1 | 6 | 2 | 1.5 | |
| cached_l2_l3_proof_is_trustedsrc/vm_runtime_support.rs:356 | fn | 12 | 3 | 1 | 3 | 1.4 | |
| VmBackend::run_dslsrc/backend.rs:202 | method | 3 | 1 | 2 | 1 | 1.4 | |
| hash_ir_execution_requestsrc/vm_runtime_support.rs:79 | fn | 16 | 1 | 4 | 1 | 1.4 | |
| response_errorsrc/component_host.rs:73 | fn | 7 | 1 | 3 | 0 | 1.3 | |
| verify_manifest_trustsrc/install_trust.rs:73 | fn | 14 | 3 | 5 | 2 | 1.3 | |
| canonical_signing_bytessrc/install_trust.rs:63 | fn | 6 | 1 | 2 | 1 | 1.3 | |
| fixturesrc/install_trust.rs:189 | fn | 22 | 1 | 6 | 0 | 1.3 | |
| InstallTrustPolicy::parsesrc/install_trust.rs:120 | method | 7 | 3 | 2 | 0 | 1.3 | |
| parse_proof_depth_numbersrc/backend.rs:391 | fn | 8 | 4 | 1 | 0 | 1.2 | |
| parse_proof_depth_strsrc/backend.rs:400 | fn | 8 | 4 | 1 | 0 | 1.2 | |
| string_bool_fromsrc/vm_runtime_support.rs:35 | fn | 3 | 1 | 3 | 0 | 1.2 | |
| string_bool_from_valuesrc/vm_runtime_support.rs:39 | fn | 3 | 1 | 3 | 0 | 1.2 | |
| enforce_install_trustsrc/install_trust.rs:147 | fn | 10 | 3 | 3 | 3 | 1.2 | |
| needs_pollsrc/component_host.rs:59 | fn | 9 | 5 | 2 | 2 | 1.2 | |
| normalize_arg_keysrc/backend.rs:286 | fn | 3 | 2 | 2 | 0 | 1.2 | |
| json_value_to_runtime_rustsrc/vm_runtime_support.rs:43 | fn | 3 | 1 | 2 | 1 | 1.2 | |
| persist_trace_contract_if_requestedsrc/vm_exec.rs:50 | fn | 38 | 4 | 2 | 4 | 1.2 | |
| default_source_backend_kindsrc/backend.rs:154 | fn | 4 | 1 | 3 | 2 | 1.2 | |
| collect_app_container_candidatesrc/installer.rs:198 | fn | 13 | 3 | 1 | 2 | 1.1 | |
| install_network_feed_manifestsrc/installer.rs:282 | fn | 7 | 1 | 1 | 1 | 1.1 | |
| insert_program_units_execution_summarysrc/vm_exec.rs:1294 | fn | 18 | 1 | 1 | 4 | 1.1 |
Outside the workspace
anyhow base64 cre8-vm hyperdb serde serde_json sha2 thiserror tracing