1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,913 · python 20,426 · 6,405 files · digest 00b5738199cb · built in 1.5 s · crystals off
cre8-app-compute-core compute cargo crate
Lower Compute config, capability, dispatch and planner contracts, and cache-alias helpers shared by peer, gateway, VM, protocol, and compute.
8workspace deps
6direct dependents
169transitive dependents
47calls out
94calls in
372call-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). 361 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| execution_cache_identity_for_requestsrc/cache.rs:127 | fn | 12 | 1 | 14 | 4 | 8.2 | |
| env_stringsrc/config.rs:358 | fn | 3 | 1 | 10 | 1 | 7.1 | |
| now_unixsrc/discovery.rs:513 | fn | 3 | 1 | 11 | 1 | 7.1 | |
| visit_expr_childrensrc/planner.rs:589 | fn | 21 | 7 | 2 | 2 | 6.6 | |
| PeerDiscovery::newsrc/discovery.rs:98 | method | 3 | 1 | 15 | 0 | 5.4 | |
| result_cache_key_for_request_undersrc/cache.rs:154 | fn | 3 | 1 | 14 | 1 | 4.5 | |
| engine_vm_config_hash_forsrc/cache.rs:78 | fn | 17 | 1 | 4 | 5 | 4.3 | |
| collect_expr_readssrc/planner.rs:637 | fn | 8 | 2 | 8 | 1 | 4 | |
| global_discoverysrc/discovery.rs:227 | fn | 28 | 1 | 16 | 1 | 3.8 | |
| make_peersrc/discovery.rs:523 | fn | 22 | 1 | 17 | 1 | 3.6 | |
| visit_object_valuessrc/planner.rs:617 | fn | 5 | 2 | 2 | 0 | 3.4 | |
| visit_expr_listsrc/planner.rs:611 | fn | 5 | 2 | 1 | 0 | 3.3 | |
| visit_expr_call_childrensrc/planner.rs:623 | fn | 13 | 4 | 1 | 1 | 3.2 | |
| collect_expr_callssrc/planner.rs:646 | fn | 9 | 3 | 6 | 1 | 3.2 | |
| PeerCapability::local_defaultsrc/capability.rs:111 | method | 41 | 1 | 13 | 3 | 3.1 | |
| AdaptivePlanRequest::with_defaultssrc/planner.rs:338 | method | 23 | 1 | 16 | 0 | 3 | |
| expr_costsrc/planner.rs:452 | fn | 13 | 7 | 4 | 0 | 2.8 | |
| build_candidatesrc/planner.rs:1374 | fn | 21 | 1 | 7 | 0 | 2.7 | |
| normalize_delegate_endpointsrc/dispatch.rs:297 | fn | 14 | 4 | 4 | 0 | 2.6 | |
| vm_config_hash_for_enginesrc/cache.rs:104 | fn | 22 | 1 | 2 | 1 | 2.6 | |
| LoopbackGpuConfig::requested_worker_countsrc/config.rs:213 | method | 8 | 2 | 4 | 0 | 2.6 | |
| cache_identity_argssrc/cache.rs:27 | fn | 13 | 2 | 1 | 0 | 2.5 | |
| result_cachesrc/cache.rs:178 | fn | 4 | 1 | 7 | 0 | 2.5 | |
| plan_dispatchsrc/planner.rs:1753 | fn | 54 | 6 | 11 | 12 | 2.5 | |
| get_cachedsrc/cache.rs:222 | fn | 3 | 1 | 11 | 2 | 2.5 | |
| decision_with_modesrc/planner.rs:1348 | fn | 25 | 1 | 5 | 0 | 2.4 | |
| cache_args_for_requestsrc/cache.rs:41 | fn | 3 | 1 | 2 | 1 | 2.4 | |
| vm_config_hash_for_requestsrc/cache.rs:100 | fn | 3 | 1 | 2 | 1 | 2.3 | |
| parse_capabilitysrc/capability.rs:417 | fn | 43 | 5 | 5 | 5 | 2.3 | |
| DelegateTimeoutConfig::from_valuessrc/config.rs:45 | method | 7 | 1 | 4 | 0 | 2.3 | |
| planner_identsrc/planner.rs:2548 | fn | 3 | 1 | 11 | 0 | 2.2 | |
| make_localsrc/discovery.rs:546 | fn | 3 | 1 | 21 | 1 | 2.2 | |
| is_valid_sese_regionsrc/region_split.rs:71 | fn | 25 | 7 | 2 | 5 | 2.2 | |
| ComputeConfig::from_envsrc/config.rs:344 | method | 12 | 1 | 5 | 8 | 2.2 | |
| PeerDiscovery::registersrc/discovery.rs:109 | method | 6 | 2 | 17 | 0 | 2.1 | |
| verify_receipt_request_metadatasrc/computation_proof.rs:29 | fn | 25 | 6 | 1 | 1 | 2.1 | |
| record_plan_outcome_with_regionssrc/planner.rs:1923 | fn | 40 | 7 | 4 | 5 | 2.1 | |
| PeerCapability::is_available_forsrc/capability.rs:223 | method | 6 | 4 | 2 | 0 | 1.9 | |
| ComputationProof::from_receipt_for_requestsrc/computation_proof.rs:124 | method | 37 | 4 | 3 | 1 | 1.9 | |
| split_regionssrc/region_split.rs:205 | fn | 27 | 7 | 4 | 1 | 1.9 |
Outside the workspace
cre8-vm hyperdb serde serde_json sha2