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-app-peer peer cargo crate

PeerApp — P2P peer table + crypto + gossip framework + DHT + manifold/subgraph/truth envelopes. Extracted from src/apps/peer (2026-05-23, mega-mode slice).

crates/cre8-app-peer · level 11 · 7,379 lines (6,235 code) · 17 files · 333 fns (44 tests) · cyclomatic Σ 771

26workspace deps
4direct dependents
87transitive dependents
213calls out
6calls in
275call-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 referencenormal dep · 6 calls · source referencenormal dep · 0 calls · source referencenormal dep · 6 calls · source referencenormal dep · 0 calls · source referencenormal dep · 3 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 69 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 13 calls · source referencenormal dep · 0 calls · source referencenormal dep · 33 calls · source referencenormal dep · 1 calls · source referencenormal dep · 12 calls · source referencenormal dep · 0 calls · source referencenormal dep · 8 calls · source referencenormal dep · 9 calls · source referencenormal dep · 16 calls · source referencenormal dep · 6 calls · source referencenormal dep · 1 calls · source referencenormal dep · 4 calls · source referencenormal dep · 7 calls · source referencenormal dep · 20 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencedev dep · 0 calls · incomplete scanapp-peerL11 · 6,235 linescre8-app-peerapp-code_changeL22 · 2,183 linescre8-app-code_changeapp-computeL14 · 94,808 linescre8-app-computeapp-gatewayL13 · 24,179 linescre8-app-gatewayapp-compute-coreL5 · 6,618 linescre8-app-compute-coreapp-device-modelL0 · 252 linescre8-app-device-modelapp-device-storeL6 · 309 linescre8-app-device-storeapp-gateway-apiL7 · 500 linescre8-app-gateway-apiapp-manifoldL10 · 18,941 linescre8-app-manifoldapp-network-clientL4 · 3,656 linescre8-app-network-clientapp-network-modelL4 · 2,198 linescre8-app-network-modelapp-network-storeL6 · 194 linescre8-app-network-storeapp-passport-modelL4 · 2,434 linescre8-app-passport-modelapp-peer-capabilityL0 · 227 linescre8-app-peer-capabilityapp-peer-gossip-topicL7 · 69 linescre8-app-peer-gossip-topicapp-peer-storeL6 · 430 linescre8-app-peer-storeapp-peer-subgraph-envelopeL0 · 596 linescre8-app-peer-subgraph-envelopeapp-protocolL9 · 26,097 linescre8-app-protocolapp-protocol-identityL0 · 3,303 linescre8-app-protocol-identityapp-truthL7 · 20,485 linescre8-app-truthapp-truth-apiL5 · 888 linescre8-app-truth-apiapp-virtual-storeL8 · 3,078 linescre8-app-virtual-storeplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-hostL1 · 1,649 linescre8-runtime-hostutil-cryptoL3 · 749 linescre8-util-cryptoapp-view-libL8 · 89,193 linescre8-app-view-libruntime-view-apiL7 · 158 linescre8-runtime-view-apiruntime-app-catalogL28 · 681 linescre8-runtime-app-catalogruntime-test-suiteL0 · 0 linescre8-runtime-test-suite

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

functionkindlinescyclomaticcallerscalleesweightcrystal
with_truth_apisrc/store.rs:8fn511327.2
sanitize_device_componentsrc/capability.rs:22fn66506.8
append_devicesrc/capability.rs:70fn2651516.1
gpu_capability_from_entrysrc/capability.rs:806fn301304.4
load_peerssrc/store.rs:28fn311124.3
compute_envelope_idsrc/truth_envelope.rs:201fn72413.1
capabilities_from_profilesrc/capability.rs:710fn511223
extract_gpu_capabilitysrc/capability.rs:740fn121612.8
upsert_peer_snapshot_idempotentsrc/store.rs:61fn101222.5
response_fieldsrc/gossip.rs:1742fn31202.2
dht_id_from_public_keysrc/dht.rs:324fn31612.1
hex_to_32src/dht.rs:22fn81102
persist_snapshotsrc/gossip.rs:1723fn143711.9
response_oksrc/gossip.rs:1738fn311311.8
response_body_withsrc/gossip.rs:1746fn321301.8
crystal_canonical_hashsrc/protocol_store_ext.rs:9fn71321.8
xor_distancesrc/dht.rs:12fn92511.8
insert_native_gpu_probe_capabilitiessrc/capability.rs:716fn173121.8
host_namesrc/capability.rs:29fn51111.7
connectsrc/connection.rs:1451fn236481.6
lookup_topicsrc/connection.rs:842fn31201.6
browser_host_callsrc/app.rs:392fn51211.6
loopback_public_urlsrc/gossip.rs:1838fn135101.5
bucket_indexsrc/dht.rs:32fn83401.5
parse_peer_connection_inputsrc/connection.rs:159fn372341.5
parse_optional_u64_fieldsrc/connection.rs:101fn163201.5
guest_cre8os_sectionsrc/capability.rs:510fn4811311.4
list_peer_snapshotssrc/store.rs:72fn31221.4
refusalsrc/view_templates.rs:59fn31431.3
routing_table_statussrc/dht.rs:232fn355241.3
extract_gpu_capabilitiessrc/capability.rs:757fn193221.3
local_capability_profilesrc/capability.rs:565fn1174341.3
subgraph_canonical_hashsrc/protocol_store_ext.rs:36fn111221.3
public_url_without_schemesrc/gossip.rs:1831fn62111.2
list_treesrc/view_templates.rs:89fn183451.2
merge_objectsrc/capability.rs:450fn215201.2
find_node_iterativesrc/dht.rs:64fn233241.2
gpu_capability_from_devicesrc/capability.rs:788fn153311.2
apply_subgraph_envelopesrc/protocol_store_ext.rs:48fn182211.2
local_guest_cre8os_evidencesrc/capability.rs:501fn82121.1

Outside the workspace

anyhow hyperdb serde serde_json sha2 sysinfo tracing