Skip to content
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.

crates/cre8-mail · level 0 · 6,111 lines (5,301 code) · 17 files · 341 fns (73 tests) · cyclomatic Σ 1,100

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
Reply::newsrc/reply.rs:14method311608.3
normalize_namesrc/dns.rs:64fn31607.6
replysrc/server.rs:150fn311114
SmtpClient::send_rawsrc/client.rs:141method71233.8
errsrc/address.rs:31fn31403.4
SmtpClient::commandsrc/client.rs:136method41713.4
Session::errorsrc/server.rs:255method1221223.3
Reply::classsrc/reply.rs:36method31603.3
StaticResolver::entrysrc/dns.rs:92method31613
StaticResolver::lookupsrc/dns.rs:132method72512.6
setup_errorsrc/tls.rs:35fn31502.6
Address::parsesrc/address.rs:41method2351342.5
hex_valuesrc/encoding.rs:38fn84202.4
UdpResolver::querysrc/dns.rs:215method237522.4
permsrc/spf.rs:94fn31402.4
StaticResolver::newsrc/dns.rs:88method311202.2
Reply::multisrc/reply.rs:18method42402.2
Cursor::u8src/dns.rs:333method51302.1
SmtpClient::read_replysrc/client.rs:117method174321.9
random_hexsrc/compose.rs:189fn103201.9
MailStream::flushsrc/transport.rs:88trait impl73501.9
encode_header_valuesrc/encoding.rs:210fn196301.8
push_fieldsrc/message.rs:70fn73101.8
decode_charsetsrc/encoding.rs:123fn2813401.8
UdpResolver::asksrc/dns.rs:253method196141.8
LineReader::read_linesrc/transport.rs:129method267501.8
Resolver::ipssrc/dns.rs:51trait default117501.8
Evaluator::checksrc/spf.rs:237method4314251.8
decode_one_wordsrc/encoding.rs:185fn224131.8
is_atextsrc/address.rs:87fn33101.7
providersrc/tls.rs:19fn41301.7
civil_from_dayssrc/compose.rs:229fn122101.7
SmtpClient::streamsrc/client.rs:105method31201.7
split_cidrsrc/spf.rs:140fn207201.7
decode_entitiessrc/message.rs:499fn409101.7
Session::reset_transactionsrc/server.rs:246method81401.6
Policy::parsesrc/dmarc.rs:29method84101.6
split_header_bodysrc/message.rs:11fn206701.6
raw_fieldssrc/message.rs:48fn216711.6
validate_domainsrc/address.rs:115fn2512211.5

Outside the workspace

base64 ed25519-dalek getrandom rand_core rcgen rsa rustls sha2 webpki-roots