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

NotificationApp extracted app crate.

crates/cre8-app-notification · level 8 · 5,817 lines (4,832 code) · 12 files · 305 fns (62 tests) · cyclomatic Σ 491

13workspace deps
5direct dependents
32transitive dependents
168calls out
20calls in
256call-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 · 12 calls · source referencenormal dep · 4 calls · source referencenormal dep · 3 calls · source referencenormal dep · 2 calls · source referencenormal dep · 2 calls · source referencenormal dep · 9 calls · source referencenormal dep · 82 calls · source referencenormal dep · 0 calls · source referencenormal dep · 4 calls · source referencenormal dep · 24 calls · source referencenormal dep · 30 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 2 calls · source referencenormal dep · 5 calls · source referencedev dep · 6 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referenceapp-notificationL8 · 4,832 linescre8-app-notificationapp-ballotL19 · 7,101 linescre8-app-ballotapp-eventL17 · 14,506 linescre8-app-eventapp-messagingL20 · 25,957 linescre8-app-messagingapp-email-apiL7 · 51 linescre8-app-email-apiapp-messaging-apiL7 · 131 linescre8-app-messaging-apiapp-notification-modelL4 · 706 linescre8-app-notification-modelapp-truthL7 · 20,485 linescre8-app-truthapp-view-lib-apiL3 · 12,973 linescre8-app-view-lib-apiplatform-envL3 · 316 linescre8-platform-envplatform-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-webpushL4 · 625 linescre8-util-webpushtest-helpersL29 · 557 linescre8-test-helpersapp-realmL27 · 7,854 linescre8-app-realmruntime-app-catalogL28 · 681 linescre8-runtime-app-catalog

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). 305 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
connectsrc/connection.rs:109fn1852839.7
ensure_tablessrc/store.rs:82fn2022535.9
get_notificationsrc/store.rs:174fn511643.9
parse_actionsrc/connection.rs:128fn81223.4
run_resultsrc/connection.rs:297fn31103.2
run_actionsrc/connection.rs:222fn71113.2
TempDb::newsrc/api.rs:272method311312.6
NotificationBuilder::newsrc/api.rs:65method161102.6
notifysrc/api.rs:37fn311112.4
parse_requested_actionsrc/connection.rs:230fn81202.3
truncate_with_ellipsissrc/sms_template.rs:51fn122102.3
required_trimmed_valuesrc/connection.rs:937fn31302.2
migrate_push_subscription_columnssrc/store.rs:113fn133142.2
render_sms_canonicalsrc/sms_template.rs:40fn103612.2
infer_notification_actionsrc/connection.rs:239fn94202.1
withdrawsrc/withdraw.rs:75fn233551.9
send_recordsrc/api.rs:44fn41411.9
NotificationBuilder::send_to_peersrc/api.rs:194method31721.8
NotificationBuilder::record_forsrc/api.rs:163method291321.8
list_subscriptions_for_peersrc/store.rs:869fn171341.6
row_notificationsrc/store.rs:376fn231331.6
row_subscriptionsrc/store.rs:904fn161531.5
non_emptysrc/withdraw.rs:268fn31301.5
sample_recordsrc/sms_template.rs:70fn201501.5
mark_actionsrc/app.rs:1036fn151101.5
is_inbox_onlysrc/withdraw.rs:162fn32201.4
storesrc/withdraw.rs:388fn611221.4
parse_prioritysrc/connection.rs:654fn95201.4
ensure_keypairsrc/vapid.rs:47fn92231.4
handle_withdrawsrc/withdraw.rs:64fn721121.4
run_marksrc/connection.rs:540fn253251.3
scalar_countsrc/store.rs:344fn101231.3
NotificationBuilder::sourcesrc/api.rs:87method61701.3
withdraw_scheduledsrc/withdraw.rs:121fn274251.2
list_notificationssrc/store.rs:180fn451271.2
schedule_remindersrc/withdraw.rs:413fn121911.2
non_empty_optsrc/app.rs:1158fn31101.2
normalized_filtersrc/store.rs:372fn32301.2
set_notification_statussrc/store.rs:257fn132441.2
status_ofsrc/withdraw.rs:426fn31911.1

Outside the workspace

anyhow base64 hyperdb serde serde_json