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-payment payment cargo crate

PaymentApp extracted app crate.

crates/cre8-app-payment · level 12 · 11,754 lines (10,538 code) · 19 files · 489 fns (87 tests) · cyclomatic Σ 949

21workspace deps
9direct dependents
38transitive dependents
242calls out
66calls in
434call-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 · 5 calls · source referencenormal dep · 0 calls · source referencenormal dep · 9 calls · source referencenormal dep · 4 calls · source referencenormal dep · 6 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 20 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 27 calls · source referencenormal dep · 10 calls · source referencenormal dep · 18 calls · source referencenormal dep · 0 calls · source referencenormal dep · 13 calls · source referencenormal dep · 2 calls · source referencenormal dep · 41 calls · source referencenormal dep · 3 calls · source referencenormal dep · 32 calls · source referencenormal dep · 36 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 7 calls · source referencenormal dep · 20 calls · source referencedev dep · 1 calls · incomplete scandev dep · 1 calls · source referencedev dep · 7 calls · source referencenormal dep · 0 calls · source referencenormal dep · 9 calls · source referencenormal dep · 33 calls · source referencenormal dep · 0 calls · source referenceapp-paymentL12 · 10,538 linescre8-app-paymentapp-courseL21 · 11,770 linescre8-app-courseapp-cryptoL18 · 4,161 linescre8-app-cryptoapp-eventL17 · 14,506 linescre8-app-eventapp-giveL13 · 2,028 linescre8-app-giveapp-legalL13 · 4,723 linescre8-app-legalapp-attentionL11 · 6,383 linescre8-app-attentionapp-attention-modelL4 · 344 linescre8-app-attention-modelapp-external_assetL8 · 1,963 linescre8-app-external_assetapp-external_asset-modelL0 · 212 linescre8-app-external_asset-modelapp-manifoldL10 · 18,941 linescre8-app-manifoldapp-matching-modelL4 · 7,752 linescre8-app-matching-modelapp-network-clientL4 · 3,656 linescre8-app-network-clientapp-passport-modelL4 · 2,434 linescre8-app-passport-modelapp-payment-modelL4 · 837 linescre8-app-payment-modelapp-payment-storeL9 · 1,796 linescre8-app-payment-storeapp-protocolL9 · 26,097 linescre8-app-protocolapp-shop-apiL7 · 77 linescre8-app-shop-apiapp-truthL7 · 20,485 linescre8-app-truthplatform-entropyL3 · 59 linescre8-platform-entropyplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostutil-jsonL0 · 296 linescre8-util-jsonutil-secretL0 · 109 linescre8-util-secretapp-view-libL8 · 89,193 linescre8-app-view-libplatform-envL3 · 316 linescre8-platform-envtest-helpersL29 · 557 linescre8-test-helpersapp-provenanceL15 · 1,780 linescre8-app-provenanceapp-scheduleL13 · 37,450 linescre8-app-scheduleapp-shopL14 · 31,666 linescre8-app-shopruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

3 calls1 calls1 calls1 calls10 calls1 calls8 calls6 calls12 calls6 calls1 calls16 calls28 calls13 calls5 calls2 calls3 calls6 calls1 calls1 calls1 calls1 calls1 calls3 calls30 calls3 calls8 callsconnection.rsconnectioncrates/cre8-app-payment/src/connection.rs · 94 call sites in/oututil.rsutilcrates/cre8-app-payment/src/util.rs · 42 call sites in/outtests.rssubscription::testscrates/cre8-app-payment/src/subscription/tests.rs · 41 call sites in/outsubscription.rssubscriptioncrates/cre8-app-payment/src/subscription.rs · 39 call sites in/outprovider_admin.rsconnection::provider_admincrates/cre8-app-payment/src/connection/provider_admin.rs · 29 call sites in/outfake_rail.rsconnection::fake_railcrates/cre8-app-payment/src/connection/fake_rail.rs · 17 call sites in/outreconciler.rsreconcilercrates/cre8-app-payment/src/reconciler.rs · 14 call sites in/outfake.rsproviders::fakecrates/cre8-app-payment/src/providers/fake.rs · 13 call sites in/outmod.rsproviderscrates/cre8-app-payment/src/providers/mod.rs · 11 call sites in/outstripe.rssubscription::stripecrates/cre8-app-payment/src/subscription/stripe.rs · 11 call sites in/outdonate.rsconnection::donatecrates/cre8-app-payment/src/connection/donate.rs · 7 call sites in/outsettlement.rssettlementcrates/cre8-app-payment/src/settlement.rs · 7 call sites in/outstripe.rsproviders::stripecrates/cre8-app-payment/src/providers/stripe.rs · 6 call sites in/outplaid.rsproviders::plaidcrates/cre8-app-payment/src/providers/plaid.rs · 5 call sites in/outfake.rssubscription::fakecrates/cre8-app-payment/src/subscription/fake.rs · 4 call sites in/outapp.rsappcrates/cre8-app-payment/src/app.rs · 3 call sites in/outcheckout_rails.rscheckout_railscrates/cre8-app-payment/src/checkout_rails.rs · 1 call sites in/out

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
stable_hashsrc/util.rs:3fn5127019.3
connectsrc/connection.rs:1417fn362570313.8
metadata_stringsrc/connection.rs:407fn101807
short_hashsrc/subscription/fake.rs:25fn31515.4
parse_actionsrc/connection.rs:325fn165414.8
parse_action_aliassrc/connection.rs:342fn41204.8
handler_for_actionsrc/connection.rs:1098fn61114.4
handle_resultsrc/connection.rs:3954fn151104.2
temp_dbsrc/connection.rs:3992fn312914.1
canonical_provider_idsrc/subscription.rs:71fn31603.7
payment_scope_idsrc/connection.rs:378fn91913.2
textsrc/subscription.rs:286fn31702.8
connect_dispatchedsrc/connection.rs:1127fn32915112.6
CheckoutRails::defaultsrc/checkout_rails.rs:76trait impl31802.5
is_wallet_providersrc/checkout_rails.rs:81fn61202.4
payment_id_forsrc/util.rs:9fn91812.3
envelopesrc/subscription/fake.rs:172fn111412.3
resolve_provider_config_for_scopesrc/connection.rs:1054fn142922.2
asset_idsrc/connection.rs:374fn31902.1
required_stringsrc/connection.rs:347fn61902
input_metadatasrc/connection.rs:910fn156411.9
accept_railsrc/checkout_rails.rs:151fn3410811.9
resolve_provider_configsrc/connection.rs:1043fn102411.9
createsrc/providers/mod.rs:86fn941101.9
is_fake_providersrc/subscription.rs:76fn31711.9
store_service_secretsrc/connection.rs:952fn191541.9
default_idempotency_keysrc/util.rs:53fn103511.8
extra_webhook_eventssrc/subscription.rs:100fn82301.7
metadata_strsrc/providers/plaid.rs:628fn91201.7
persist_atomic_settlement_effectssrc/settlement.rs:170fn616621.7
default_provider_config_for_scopesrc/connection.rs:1027fn152421.7
names_accountsrc/connection.rs:1186fn32611.7
require_secretsrc/providers/plaid.rs:535fn31421.7
bank_connection_id_forsrc/util.rs:19fn91611.7
bank_snapshot_id_forsrc/util.rs:29fn41311.7
scoped_scan_rowssrc/connection.rs:1192fn32501.6
metadata_stringsrc/settlement.rs:9fn81101.6
reconcile_external_eventsrc/reconciler.rs:202fn141471.5
wallet_balancesrc/reconciler.rs:24fn81311.5
record_payment_outcome_attentionsrc/connection.rs:1964fn783451.5

Outside the workspace

anyhow hex hmac serde serde_json sha2