Settings

Theme

Packing Multiple Services into One Rust Binary

carlriis.com

4 points by PotatoNinja 3 months ago · 1 comment

Reader

carltheperson 3 months ago

Cool! I see someone else was quick to post this.

Hi everyone. I wrote this describing how I like putting more than one thing/service into my final Rust binaries (when applicable, e.g. smaller projects).

When people ask me what I like about Rust, I mention that you can do something like this, so I thought I'd write a post to illustrate it.

I especially think the frontend build embedding and TLS management are neat tricks.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection