Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off

cre8-app-peer-store peer cargo crate

Truth-backed peer store extracted from cre8-app-peer.

crates/cre8-app-peer-store · level 6 · 482 lines (430 code) · 1 files · 34 fns (19 tests) · cyclomatic Σ 45

3workspace deps
2direct dependents
93transitive dependents
5calls out
22calls in
36call-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

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
FakeTruth::recordsrc/lib.rs:231method311305.8
load_peerssrc/lib.rs:25fn202304.1
upsert_peer_snapshot_idempotentsrc/lib.rs:169fn152332.1
list_peer_snapshotssrc/lib.rs:185fn142301.6
upsert_peersrc/lib.rs:11fn131301.5
upsert_peer_snapshotsrc/lib.rs:132fn91301.4
touch_peer_seensrc/lib.rs:200fn31301.3
snapshot_dedupe_keysrc/lib.rs:142fn92221.1
providers_for_ir_hashsrc/lib.rs:50fn132301.1
prune_dead_peerssrc/lib.rs:208fn41311.1
upsert_peer_protocolsrc/lib.rs:46fn31301.1
extract_envelope_id_anysrc/lib.rs:152fn165201
increment_peer_failuressrc/lib.rs:204fn31301
latest_peer_sessionsrc/lib.rs:95fn191211
list_peer_sessionssrc/lib.rs:115fn162200.9
upsert_peer_sessionsrc/lib.rs:78fn161200.8
FakeTruth::with_dedupesrc/lib.rs:227method31100.6
FakeTruth::callssrc/lib.rs:235method31100.6
FakeTruth::namesrc/lib.rs:241trait impl31000.5
FakeTruth::peer_upsertsrc/lib.rs:245trait impl141010.5
FakeTruth::peer_load_peerssrc/lib.rs:260trait impl251010.5
FakeTruth::peer_upsert_protocolsrc/lib.rs:286trait impl41010.5
FakeTruth::peer_providers_for_ir_hashsrc/lib.rs:291trait impl101010.5
FakeTruth::peer_upsert_sessionsrc/lib.rs:302trait impl191010.5
FakeTruth::peer_latest_sessionsrc/lib.rs:322trait impl172010.5
FakeTruth::peer_list_sessionssrc/lib.rs:340trait impl141010.5
FakeTruth::peer_upsert_snapshotsrc/lib.rs:355trait impl41010.5
FakeTruth::peer_insert_snapshot_dedupesrc/lib.rs:360trait impl101010.5
FakeTruth::peer_list_snapshotssrc/lib.rs:371trait impl171010.5
FakeTruth::peer_touch_seensrc/lib.rs:389trait impl41010.5
FakeTruth::peer_increment_failuressrc/lib.rs:394trait impl41010.5
FakeTruth::peer_prune_deadsrc/lib.rs:399trait impl41020.5
peer_store_delegates_core_peer_session_and_health_methodssrc/lib.rs:406fn4210100.5
snapshots_cover_dedupe_keys_idempotence_and_json_fallbackssrc/lib.rs:450fn321070.5

Outside the workspace

anyhow serde_json