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-truth-api truth cargo crate

Lower truth store API shared by extracted CRE8 app store crates.

crates/cre8-app-truth-api · level 5 · 996 lines (888 code) · 1 files · 70 fns (9 tests) · cyclomatic Σ 70

5workspace deps
20direct dependents
212transitive dependents
0calls out
9calls in
64.1call-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 · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 7 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referenceapp-truth-apiL5 · 888 linescre8-app-truth-apiapp-accountL9 · 3,668 linescre8-app-accountapp-account-storeL6 · 126 linescre8-app-account-storeapp-agentL24 · 25,428 linescre8-app-agentapp-atomL10 · 17,183 linescre8-app-atomapp-computeL14 · 94,808 linescre8-app-computeapp-deviceL9 · 14,646 linescre8-app-deviceapp-device-storeL6 · 309 linescre8-app-device-storeapp-intelligenceL12 · 6,289 linescre8-app-intelligenceapp-manifoldL10 · 18,941 linescre8-app-manifoldapp-matchingL17 · 23,403 linescre8-app-matchingapp-matching-storeL6 · 195 linescre8-app-matching-storeapp-networkL11 · 15,383 linescre8-app-networkapp-network-federation-st…L6 · 956 linescre8-app-network-federation-storeapp-network-storeL6 · 194 linescre8-app-network-storeapp-onboardL10 · 4,799 linescre8-app-onboardapp-peerL11 · 6,235 linescre8-app-peerapp-peer-storeL6 · 430 linescre8-app-peer-storeapp-protocolL9 · 26,097 linescre8-app-protocolapp-realmL27 · 7,854 linescre8-app-realmapp-truthL7 · 20,485 linescre8-app-truthapp-account-modelL0 · 294 linescre8-app-account-modelapp-device-modelL0 · 252 linescre8-app-device-modelapp-matching-modelL4 · 7,752 linescre8-app-matching-modelapp-network-modelL4 · 2,198 linescre8-app-network-modelapp-passport-modelL4 · 2,434 linescre8-app-passport-model

Files

lowhigh

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
DefaultTruth::namesrc/lib.rs:649trait impl3132020
TruthInterface::matching_load_recent_transactionssrc/lib.rs:489trait default61312.5
TruthInterface::matching_load_recent_path_cachesrc/lib.rs:511trait default31312.4
TruthInterface::matching_load_transactions_stampedsrc/lib.rs:502trait default81111.5
TruthInterface::matching_load_path_cache_for_revisionsrc/lib.rs:522trait default111211.4
TruthInterface::matching_upsert_position_intentsrc/lib.rs:458trait default71111.3
TruthInterface::matching_query_position_historysrc/lib.rs:426trait default61111.3
TruthInterface::matching_load_position_historysrc/lib.rs:433trait default81111.2
TruthInterface::matching_apply_settlement_plansrc/lib.rs:466trait default61111.1
TruthInterface::matching_load_position_intent_epochssrc/lib.rs:454trait default31111.1
roundtripsrc/lib.rs:654fn81200.6
TruthBackendDescriptor::db_pathsrc/lib.rs:23method31100.6
TruthBackendDescriptor::data_dirsrc/lib.rs:27method31100.6
federated_pubkey_rowsrc/lib.rs:720fn141100.6
TruthInterface::supports_network_recordssrc/lib.rs:265trait default31100.5
TruthInterface::network_upsertsrc/lib.rs:269trait default31110.5
TruthInterface::network_get_by_idsrc/lib.rs:273trait default31100.5
TruthInterface::network_listsrc/lib.rs:277trait default31100.5
TruthInterface::network_countsrc/lib.rs:281trait default31100.5
TruthInterface::device_replace_peer_recordssrc/lib.rs:285trait default71110.5
TruthInterface::device_listsrc/lib.rs:293trait default81100.5
TruthInterface::device_getsrc/lib.rs:302trait default31100.5
TruthInterface::device_countsrc/lib.rs:306trait default31100.5
TruthInterface::account_upsertsrc/lib.rs:310trait default31110.5
TruthInterface::account_getsrc/lib.rs:314trait default31100.5
TruthInterface::account_listsrc/lib.rs:318trait default81100.5
TruthInterface::account_countsrc/lib.rs:327trait default31100.5
TruthInterface::account_attach_passportsrc/lib.rs:331trait default31110.5
TruthInterface::peer_join_networksrc/lib.rs:335trait default31110.5
TruthInterface::endorsement_upsertsrc/lib.rs:339trait default111110.5
TruthInterface::endorsements_listsrc/lib.rs:351trait default31100.5
TruthInterface::peers_in_networksrc/lib.rs:355trait default31100.5
TruthInterface::peer_upsertsrc/lib.rs:359trait default111110.5
TruthInterface::peer_load_peerssrc/lib.rs:370trait default31100.5
TruthInterface::peer_upsert_protocolsrc/lib.rs:373trait default31110.5
TruthInterface::peer_providers_for_ir_hashsrc/lib.rs:376trait default31100.5
TruthInterface::peer_upsert_sessionsrc/lib.rs:379trait default161110.5
TruthInterface::peer_latest_sessionsrc/lib.rs:395trait default31100.5
TruthInterface::peer_list_sessionssrc/lib.rs:398trait default31100.5
TruthInterface::peer_upsert_snapshotsrc/lib.rs:401trait default31110.5

Outside the workspace

anyhow serde serde_json