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-messaging/src/providers/webpush.rs
Items
struct WebPushProvider const WEBPUSH_CHANNELS const WEBPUSH_COST_CENTS const WEBPUSH_DEFAULT_TTL_SECS struct SubscriptionPayload impl MessageProvider for WebPushProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| vapid_configuredsrc/providers/webpush.rs:50 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| try_real_sendsrc/providers/webpush.rs:160 | fn | 45 | 3 | 1 | 5 | 0.6 | |
| sender_contactsrc/providers/webpush.rs:76 | fn | 9 | 3 | 1 | 1 | 0.6 | |
| build_payloadsrc/providers/webpush.rs:220 | fn | 13 | 4 | 1 | 0 | 0.6 | |
| vapid_configuredsrc/providers/webpush.rs:55 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| WebPushProvider::idsrc/providers/webpush.rs:87 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WebPushProvider::channelssrc/providers/webpush.rs:91 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WebPushProvider::is_availablesrc/providers/webpush.rs:95 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WebPushProvider::unavailable_reasonsrc/providers/webpush.rs:99 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WebPushProvider::cost_cents_per_callsrc/providers/webpush.rs:103 | trait impl | 6 | 2 | 0 | 0 | 0.5 | |
| WebPushProvider::sendsrc/providers/webpush.rs:110 | trait impl | 47 | 4 | 0 | 3 | 0.5 | |
| try_real_sendsrc/providers/webpush.rs:207 | fn | 7 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.