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-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 10 · 7,379 lines (6,264 code) · 17 files · 334 fns (41 tests) · cyclomatic Σ 769

26workspace deps
4direct dependents
91transitive dependents
196calls out
6calls in
277call-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 callsnormal dep · 6 callsnormal dep · 0 callsnormal dep · 6 callsnormal dep · 0 callsnormal dep · 3 callsnormal dep · 0 callsnormal dep · 1 callsnormal dep · 69 callsnormal dep · 1 callsnormal dep · 1 callsnormal dep · 0 callsnormal dep · 1 callsnormal dep · 1 callsnormal dep · 13 callsnormal dep · 0 callsnormal dep · 33 callsnormal dep · 1 callsnormal dep · 12 callsnormal dep · 0 callsnormal dep · 8 callsnormal dep · 9 callsnormal dep · 16 callsnormal dep · 6 callsnormal dep · 1 callsnormal dep · 4 callsnormal dep · 0 callsnormal dep · 10 callsnormal dep · 0 callsnormal dep · 0 callsdev dep · 0 calls · never namedapp-peerL10 · 6,264 linescre8-app-peerapp-code_changeL21 · 2,183 linescre8-app-code_changeapp-computeL13 · 93,890 linescre8-app-computeapp-gatewayL12 · 23,741 linescre8-app-gatewayapp-compute-coreL5 · 6,617 linescre8-app-compute-coreapp-device-modelL0 · 252 linescre8-app-device-modelapp-device-storeL6 · 309 linescre8-app-device-storeapp-gateway-apiL6 · 500 linescre8-app-gateway-apiapp-manifoldL9 · 18,864 linescre8-app-manifoldapp-network-clientL4 · 3,590 linescre8-app-network-clientapp-network-modelL4 · 2,200 linescre8-app-network-modelapp-network-storeL6 · 194 linescre8-app-network-storeapp-passport-modelL4 · 2,418 linescre8-app-passport-modelapp-peer-capabilityL0 · 227 linescre8-app-peer-capabilityapp-peer-gossip-topicL6 · 69 linescre8-app-peer-gossip-topicapp-peer-storeL6 · 430 linescre8-app-peer-storeapp-peer-subgraph-envelopeL0 · 595 linescre8-app-peer-subgraph-envelopeapp-protocolL8 · 25,151 linescre8-app-protocolapp-protocol-identityL0 · 3,303 linescre8-app-protocol-identityapp-truthL6 · 20,464 linescre8-app-truthapp-truth-apiL5 · 888 linescre8-app-truth-apiapp-virtual-storeL7 · 3,078 linescre8-app-virtual-storeplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL5 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,077 linescre8-runtime-contractsruntime-hostL1 · 1,649 linescre8-runtime-hostutil-cryptoL3 · 749 linescre8-util-cryptoapp-view-libL7 · 86,830 linescre8-app-view-libruntime-view-apiL6 · 158 linescre8-runtime-view-apiruntime-app-catalogL27 · 676 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). 334 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
with_truth_apisrc/store.rs:8fn511327.2
sanitize_device_componentsrc/capability.rs:22fn66506.8
append_devicesrc/capability.rs:70fn2651516.2
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:1741fn31202.2
hex_to_32src/dht.rs:22fn81102
persist_snapshotsrc/gossip.rs:1722fn143711.9
response_oksrc/gossip.rs:1737fn311311.9
response_body_withsrc/gossip.rs:1745fn321301.9
crystal_canonical_hashsrc/protocol_store_ext.rs:9fn71321.9
connectsrc/connection.rs:1488fn236481.8
xor_distancesrc/dht.rs:12fn92511.8
insert_native_gpu_probe_capabilitiessrc/capability.rs:716fn173121.8
host_namesrc/capability.rs:29fn51111.7
lookup_topicsrc/connection.rs:879fn31201.6
browser_host_callsrc/app.rs:399fn51211.6
loopback_public_urlsrc/gossip.rs:1851fn135101.6
parse_peer_connection_inputsrc/connection.rs:157fn372341.5
bucket_indexsrc/dht.rs:32fn83401.5
parse_optional_u64_fieldsrc/connection.rs:99fn163201.5
guest_cre8os_sectionsrc/capability.rs:510fn4811311.4
list_peer_snapshotssrc/store.rs:72fn31221.4
servesrc/view.rs:33fn82141.4
routing_table_statussrc/dht.rs:236fn355241.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:1844fn62111.2
find_node_iterativesrc/dht.rs:64fn233241.2
merge_objectsrc/capability.rs:450fn215201.2
fetch_providers_from_peersrc/dht.rs:206fn131131.2
apply_subgraph_envelopesrc/protocol_store_ext.rs:48fn182211.2
gpu_capability_from_devicesrc/capability.rs:788fn153311.2
local_guest_cre8os_evidencesrc/capability.rs:501fn82121.1
latest_peer_sessionsrc/store.rs:44fn31121.1

Outside the workspace

anyhow hyperdb serde serde_json sha2 sysinfo tracing