💾 Archived View for rawtext.club › ~sloum › geminilist › 002096.gmi captured on 2020-10-31 at 02:43:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2020-09-24)

-=-=-=-=-=-=-

<-- back to the mailing list

Minimal client

Dave Gauer dave at ratfactor.com

Mon Jul 6 15:57:01 BST 2020

- - - - - - - - - - - - - - - - - - - 

On 7/6/20 10:32 AM, Solderpunk wrote:

On Mon Jul 6, 2020 at 4:09 PM CEST, Dave Gauer wrote:
Statically linked, yes. But I have no idea if it would meet the _small_
goal!
Hitting statically linked, small, and good TLS support simultaneously
seems a little tricky. Which is a shame.

Indeed! I was curious, so I built the "TLS client" example in the rustls repo. It compiles in the following 32 crates:

aho-corasick, atty, base64, cfg-if, ct-logs, docopt, env_logger, humantime, lazy_static, log, memchr, mio, once_cell, quick-error, quote, regex, regex-syntax, ring, rustls, rustls-mio, sct, serde, serde_derive, spin, strsim, syn, termcolor, thread_local, unicode-xid, untrusted, webpki, webpki-roots

(Note things like webpki are used in the example.)

A `--release` build comes to 6,844,552 bytes. So no, not small.

-Dave