1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-postal/src/providers/postgrid.rs
Items
const API_KEY const WEBHOOK_SECRET const BASE_URL struct PostGridRail impl PostGridRail impl PostalRail for PostGridRail
Functions
By call-graph weight (PageRank; 1.0 is the average function). 26 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| base64urlsrc/providers/postgrid.rs:249 | fn | 5 | 1 | 2 | 0 | 1.7 | |
| status_forsrc/providers/postgrid.rs:140 | fn | 10 | 6 | 3 | 0 | 1.2 | |
| PostGridRail::newsrc/providers/postgrid.rs:39 | method | 3 | 1 | 3 | 0 | 0.9 | |
| PostGridRail::headerssrc/providers/postgrid.rs:43 | method | 7 | 2 | 3 | 0 | 0.8 | |
| collectionsrc/providers/postgrid.rs:52 | fn | 6 | 2 | 3 | 0 | 0.8 | |
| receipt_from_ordersrc/providers/postgrid.rs:151 | fn | 10 | 1 | 3 | 2 | 0.8 | |
| jwt_textsrc/providers/postgrid.rs:223 | fn | 7 | 4 | 3 | 0 | 0.8 | |
| postcard_sizesrc/providers/postgrid.rs:89 | fn | 8 | 3 | 1 | 0 | 0.7 | |
| jwt_claimssrc/providers/postgrid.rs:244 | fn | 4 | 1 | 2 | 1 | 0.7 | |
| parse_eventsrc/providers/postgrid.rs:256 | fn | 15 | 2 | 2 | 2 | 0.7 | |
| verify_jwt_hs256src/providers/postgrid.rs:231 | fn | 12 | 2 | 2 | 1 | 0.7 | |
| send_bodysrc/providers/postgrid.rs:98 | fn | 39 | 8 | 1 | 2 | 0.6 | |
| encodesrc/providers/postgrid.rs:327 | nested fn | 3 | 1 | 1 | 0 | 0.6 | |
| lettersrc/providers/postgrid.rs:279 | fn | 9 | 1 | 1 | 1 | 0.6 | |
| contact_jsonsrc/providers/postgrid.rs:59 | fn | 19 | 2 | 0 | 0 | 0.5 | |
| mailing_classsrc/providers/postgrid.rs:79 | fn | 9 | 5 | 0 | 0 | 0.5 | |
| PostGridRail::rail_idsrc/providers/postgrid.rs:163 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PostGridRail::is_livesrc/providers/postgrid.rs:167 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| PostGridRail::sendsrc/providers/postgrid.rs:171 | trait impl | 10 | 3 | 0 | 5 | 0.5 | |
| PostGridRail::cancelsrc/providers/postgrid.rs:182 | trait impl | 10 | 2 | 0 | 4 | 0.5 | |
| PostGridRail::refreshsrc/providers/postgrid.rs:193 | trait impl | 4 | 1 | 0 | 3 | 0.5 | |
| PostGridRail::verify_webhooksrc/providers/postgrid.rs:198 | trait impl | 13 | 3 | 0 | 4 | 0.5 | |
| PostGridRail::parse_webhooksrc/providers/postgrid.rs:212 | trait impl | 8 | 2 | 0 | 3 | 0.5 | |
| a_letter_send_posts_postgrid_contacts_with_the_api_key_headersrc/providers/postgrid.rs:290 | fn | 20 | 1 | 0 | 6 | 0.5 | |
| statuses_map_and_cancel_must_come_back_cancelledsrc/providers/postgrid.rs:312 | fn | 11 | 1 | 0 | 5 | 0.5 | |
| jwt_webhooks_verify_hs256_and_parse_the_order_statussrc/providers/postgrid.rs:325 | fn | 21 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.