Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
westoncb
on Feb 12, 2022
|
parent
|
context
|
favorite
| on:
Show HN: Jless, a command-line JSON viewer
I'll bet there are some Rust build options they can tweak to get it way down...
bogeholm
on Feb 12, 2022
|
next
[–]
Here are a couple of options if anyone is curious:
https://github.com/johnthagen/min-sized-rust
pferde
on Feb 20, 2022
|
parent
|
next
[–]
FWIW, when rebuilding jless with some of the cargo tweaks mentioned here, as well as in
https://www.collabora.com/news-and-blog/blog/2020/04/28/redu...
, I managed to get the binary size down to 1.75MB. Better, but still huge.
Note that I did not use tweaks which require rust nightly, as I did not feel like installing it.
undergrowth54
on Feb 12, 2022
|
prev
[–]
I'll bet that a good project for a different person who has idly thought "y'know, I'd like an excuse to learn rust..." could be doing that.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: