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).
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.
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| with_truth_apisrc/store.rs:8 | fn | 5 | 1 | 13 | 2 | 7.2 | |
| sanitize_device_componentsrc/capability.rs:22 | fn | 6 | 6 | 5 | 0 | 6.8 | |
| append_devicesrc/capability.rs:70 | fn | 26 | 5 | 15 | 1 | 6.2 | |
| gpu_capability_from_entrysrc/capability.rs:806 | fn | 30 | 1 | 3 | 0 | 4.4 | |
| load_peerssrc/store.rs:28 | fn | 3 | 1 | 11 | 2 | 4.3 | |
| compute_envelope_idsrc/truth_envelope.rs:201 | fn | 7 | 2 | 4 | 1 | 3.1 | |
| capabilities_from_profilesrc/capability.rs:710 | fn | 5 | 1 | 12 | 2 | 3 | |
| extract_gpu_capabilitysrc/capability.rs:740 | fn | 12 | 1 | 6 | 1 | 2.8 | |
| upsert_peer_snapshot_idempotentsrc/store.rs:61 | fn | 10 | 1 | 2 | 2 | 2.5 | |
| response_fieldsrc/gossip.rs:1741 | fn | 3 | 1 | 2 | 0 | 2.2 | |
| hex_to_32src/dht.rs:22 | fn | 8 | 1 | 1 | 0 | 2 | |
| persist_snapshotsrc/gossip.rs:1722 | fn | 14 | 3 | 7 | 1 | 1.9 | |
| response_oksrc/gossip.rs:1737 | fn | 3 | 1 | 13 | 1 | 1.9 | |
| response_body_withsrc/gossip.rs:1745 | fn | 3 | 2 | 13 | 0 | 1.9 | |
| crystal_canonical_hashsrc/protocol_store_ext.rs:9 | fn | 7 | 1 | 3 | 2 | 1.9 | |
| connectsrc/connection.rs:1488 | fn | 23 | 6 | 4 | 8 | 1.8 | |
| xor_distancesrc/dht.rs:12 | fn | 9 | 2 | 5 | 1 | 1.8 | |
| insert_native_gpu_probe_capabilitiessrc/capability.rs:716 | fn | 17 | 3 | 1 | 2 | 1.8 | |
| host_namesrc/capability.rs:29 | fn | 5 | 1 | 1 | 1 | 1.7 | |
| lookup_topicsrc/connection.rs:879 | fn | 3 | 1 | 2 | 0 | 1.6 | |
| browser_host_callsrc/app.rs:399 | fn | 5 | 1 | 2 | 1 | 1.6 | |
| loopback_public_urlsrc/gossip.rs:1851 | fn | 13 | 5 | 1 | 0 | 1.6 | |
| parse_peer_connection_inputsrc/connection.rs:157 | fn | 37 | 2 | 3 | 4 | 1.5 | |
| bucket_indexsrc/dht.rs:32 | fn | 8 | 3 | 4 | 0 | 1.5 | |
| parse_optional_u64_fieldsrc/connection.rs:99 | fn | 16 | 3 | 2 | 0 | 1.5 | |
| guest_cre8os_sectionsrc/capability.rs:510 | fn | 48 | 11 | 3 | 1 | 1.4 | |
| list_peer_snapshotssrc/store.rs:72 | fn | 3 | 1 | 2 | 2 | 1.4 | |
| servesrc/view.rs:33 | fn | 8 | 2 | 1 | 4 | 1.4 | |
| routing_table_statussrc/dht.rs:236 | fn | 35 | 5 | 2 | 4 | 1.3 | |
| extract_gpu_capabilitiessrc/capability.rs:757 | fn | 19 | 3 | 2 | 2 | 1.3 | |
| local_capability_profilesrc/capability.rs:565 | fn | 117 | 4 | 3 | 4 | 1.3 | |
| subgraph_canonical_hashsrc/protocol_store_ext.rs:36 | fn | 11 | 1 | 2 | 2 | 1.3 | |
| public_url_without_schemesrc/gossip.rs:1844 | fn | 6 | 2 | 1 | 1 | 1.2 | |
| find_node_iterativesrc/dht.rs:64 | fn | 23 | 3 | 2 | 4 | 1.2 | |
| merge_objectsrc/capability.rs:450 | fn | 21 | 5 | 2 | 0 | 1.2 | |
| fetch_providers_from_peersrc/dht.rs:206 | fn | 13 | 1 | 1 | 3 | 1.2 | |
| apply_subgraph_envelopesrc/protocol_store_ext.rs:48 | fn | 18 | 2 | 2 | 1 | 1.2 | |
| gpu_capability_from_devicesrc/capability.rs:788 | fn | 15 | 3 | 3 | 1 | 1.2 | |
| local_guest_cre8os_evidencesrc/capability.rs:501 | fn | 8 | 2 | 1 | 2 | 1.1 | |
| latest_peer_sessionsrc/store.rs:44 | fn | 3 | 1 | 1 | 2 | 1.1 |
Outside the workspace
anyhow hyperdb serde serde_json sha2 sysinfo tracing