1 viewer
rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off
cre8-mail crates cargo crate
The runtime's own mail protocol stack: SMTP server and client, MX delivery, RFC 5322/MIME, DKIM, SPF, DMARC and a stub DNS resolver.
0workspace deps
1direct dependents
9transitive dependents
0calls out
72calls in
319call-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.
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). 341 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Reply::newsrc/reply.rs:14 | method | 3 | 1 | 16 | 0 | 8.3 | |
| normalize_namesrc/dns.rs:64 | fn | 3 | 1 | 6 | 0 | 7.6 | |
| replysrc/server.rs:150 | fn | 3 | 1 | 11 | 1 | 4 | |
| SmtpClient::send_rawsrc/client.rs:141 | method | 7 | 1 | 2 | 3 | 3.8 | |
| errsrc/address.rs:31 | fn | 3 | 1 | 4 | 0 | 3.4 | |
| SmtpClient::commandsrc/client.rs:136 | method | 4 | 1 | 7 | 1 | 3.4 | |
| Session::errorsrc/server.rs:255 | method | 12 | 2 | 12 | 2 | 3.3 | |
| Reply::classsrc/reply.rs:36 | method | 3 | 1 | 6 | 0 | 3.3 | |
| StaticResolver::entrysrc/dns.rs:92 | method | 3 | 1 | 6 | 1 | 3 | |
| StaticResolver::lookupsrc/dns.rs:132 | method | 7 | 2 | 5 | 1 | 2.6 | |
| setup_errorsrc/tls.rs:35 | fn | 3 | 1 | 5 | 0 | 2.6 | |
| Address::parsesrc/address.rs:41 | method | 23 | 5 | 13 | 4 | 2.5 | |
| hex_valuesrc/encoding.rs:38 | fn | 8 | 4 | 2 | 0 | 2.4 | |
| UdpResolver::querysrc/dns.rs:215 | method | 23 | 7 | 5 | 2 | 2.4 | |
| permsrc/spf.rs:94 | fn | 3 | 1 | 4 | 0 | 2.4 | |
| StaticResolver::newsrc/dns.rs:88 | method | 3 | 1 | 12 | 0 | 2.2 | |
| Reply::multisrc/reply.rs:18 | method | 4 | 2 | 4 | 0 | 2.2 | |
| Cursor::u8src/dns.rs:333 | method | 5 | 1 | 3 | 0 | 2.1 | |
| SmtpClient::read_replysrc/client.rs:117 | method | 17 | 4 | 3 | 2 | 1.9 | |
| random_hexsrc/compose.rs:189 | fn | 10 | 3 | 2 | 0 | 1.9 | |
| MailStream::flushsrc/transport.rs:88 | trait impl | 7 | 3 | 5 | 0 | 1.9 | |
| encode_header_valuesrc/encoding.rs:210 | fn | 19 | 6 | 3 | 0 | 1.8 | |
| push_fieldsrc/message.rs:70 | fn | 7 | 3 | 1 | 0 | 1.8 | |
| decode_charsetsrc/encoding.rs:123 | fn | 28 | 13 | 4 | 0 | 1.8 | |
| UdpResolver::asksrc/dns.rs:253 | method | 19 | 6 | 1 | 4 | 1.8 | |
| LineReader::read_linesrc/transport.rs:129 | method | 26 | 7 | 5 | 0 | 1.8 | |
| Resolver::ipssrc/dns.rs:51 | trait default | 11 | 7 | 5 | 0 | 1.8 | |
| Evaluator::checksrc/spf.rs:237 | method | 43 | 14 | 2 | 5 | 1.8 | |
| decode_one_wordsrc/encoding.rs:185 | fn | 22 | 4 | 1 | 3 | 1.8 | |
| is_atextsrc/address.rs:87 | fn | 3 | 3 | 1 | 0 | 1.7 | |
| providersrc/tls.rs:19 | fn | 4 | 1 | 3 | 0 | 1.7 | |
| civil_from_dayssrc/compose.rs:229 | fn | 12 | 2 | 1 | 0 | 1.7 | |
| SmtpClient::streamsrc/client.rs:105 | method | 3 | 1 | 2 | 0 | 1.7 | |
| split_cidrsrc/spf.rs:140 | fn | 20 | 7 | 2 | 0 | 1.7 | |
| decode_entitiessrc/message.rs:499 | fn | 40 | 9 | 1 | 0 | 1.7 | |
| Session::reset_transactionsrc/server.rs:246 | method | 8 | 1 | 4 | 0 | 1.6 | |
| Policy::parsesrc/dmarc.rs:29 | method | 8 | 4 | 1 | 0 | 1.6 | |
| split_header_bodysrc/message.rs:11 | fn | 20 | 6 | 7 | 0 | 1.6 | |
| raw_fieldssrc/message.rs:48 | fn | 21 | 6 | 7 | 1 | 1.6 | |
| validate_domainsrc/address.rs:115 | fn | 25 | 12 | 2 | 1 | 1.5 |
Outside the workspace
base64 ed25519-dalek getrandom rand_core rcgen rsa rustls sha2 webpki-roots