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

PostalApp: physical mail (letters, postcards) through print-and-mail providers (Lob, PostGrid) and the node's own printer via the Device app, with CRE8's own letter layout.

crates/cre8-app-postal · level 10 · 4,049 lines (3,418 code) · 14 files · 227 fns (42 tests) · cyclomatic Σ 551

15workspace deps
1direct dependents
8transitive dependents
95calls out
6calls in
174call-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.

dev dep · 6 calls · source referencenormal dep · 19 calls · source referencenormal dep · 17 calls · source referencenormal dep · 2 calls · source referencenormal dep · 7 calls · source referencenormal dep · 3 calls · source referencenormal dep · 18 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 3 calls · source referencenormal dep · 0 calls · source referencenormal dep · 13 calls · source referencenormal dep · 8 calls · source referencenormal dep · 3 calls · source referencenormal dep · 1 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referenceapp-postalL10 · 3,418 linescre8-app-postalapp-marketingL14 · 26,557 linescre8-app-marketingapp-truthL7 · 20,485 linescre8-app-truthapp-view-libL8 · 89,193 linescre8-app-view-libplatform-entropyL3 · 59 linescre8-platform-entropyplatform-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-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-hostL1 · 1,649 linescre8-runtime-hosttruth-schemaL0 · 829 linescre8-truth-schemautil-view-htmlL0 · 1,660 linescre8-util-view-htmlapp-network-clientL4 · 3,656 linescre8-app-network-clientapp-passport-modelL4 · 2,434 linescre8-app-passport-modelapp-protocolL9 · 26,097 linescre8-app-protocolruntime-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). 227 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
json_textsrc/providers/mod.rs:167fn311303.3
SendRequest::from_inputsrc/model.rs:424method5912582.8
cap_pxsrc/render.rs:221fn31502.8
textsrc/connection.rs:45fn31902.6
onesrc/store.rs:82fn51342.5
ensure_tablessrc/store.rs:17fn142732.4
PostalAddress::is_ussrc/model.rs:317method31402.1
status_for_event_suffixsrc/providers/lob.rs:187fn1612201.7
base64urlsrc/providers/postgrid.rs:249fn51201.7
credentialsrc/providers/mod.rs:115fn51221.6
sqlite_projection_ddlsrc/schema.rs:54fn31221.6
PieceStatus::is_terminalsrc/model.rs:103method31101.5
printablesrc/render.rs:167fn138301.5
merge_fieldssrc/model.rs:377fn244201.4
load_piecesrc/connection.rs:66fn83421.4
PostalAddress::from_valuesrc/model.rs:257method275501.3
contextsrc/connection/tests.rs:7fn61931.3
Page::darkensrc/render.rs:86method83201.3
constant_time_eqsrc/providers/mod.rs:160fn62201.3
render_lettersrc/render.rs:250fn4285101.2
status_forsrc/providers/postgrid.rs:140fn106301.2
PieceStatus::advances_fromsrc/model.rs:110method96411.2
handle_sendsrc/connection.rs:167fn801311111.2
PieceStatus::parsesrc/model.rs:98method41401.2
postal_model_specsrc/schema.rs:46fn71151.2
now_mssrc/connection.rs:49fn31711.2
row_to_piecesrc/store.rs:170fn251251.2
LobRail::newsrc/providers/lob.rs:35method31601.1
advance_pxsrc/render.rs:225fn31211.1
Page::to_pngsrc/render.rs:61method71401.1
onboarded_cloud_railssrc/providers/mod.rs:151fn71411.1
status_labelsrc/model.rs:621fn1713301.1
connectsrc/connection.rs:29fn1510291.1
lettersrc/connection/tests.rs:14fn101801.1
status_for_event_typesrc/providers/lob.rs:182fn41211.1
get_piecesrc/store.rs:88fn31111.1
ScriptedHttp::answeringsrc/providers/mod.rs:192method31701.1
LobRail::headerssrc/providers/lob.rs:39method82401.1
rail_forsrc/providers/mod.rs:128fn216541.1
parse_eventsrc/providers/lob.rs:325fn231221.1

Outside the workspace

anyhow base64 cre8-lib-font hex hmac image serde serde_json sha2