Crates.io | busycrate |
lib.rs | busycrate |
version | 0.1.0 |
source | src |
created_at | 2020-08-13 23:49:02.251502 |
updated_at | 2020-08-13 23:49:02.251502 |
description | BusyBox but in Rust |
homepage | https://github.com/bollian/busycrate |
repository | https://github.com/bollian/busycrate |
max_upload_size | |
id | 276383 |
size | 36,766 |
BusyBox but written in Rust for fun.
FYI, https://github.com/samuela/rustybox is a thing and you should prefer it over this. I just work on this when I'm tired of working on all my other projects. I see it as a way to learn the Unix utilities.
Rust binaries tend to be significantly larger than their C or C++ equivalents
since they include a lot of extra bloat features, with backtracing and
std::fmt
being two large examples. If every single Unix utility were rewritten
in Rust, this cost would be repeated several times over.
There are ways of reducing the extra binary size, but doing something like removing the standard library can be painful to work with. Instead, BusyCrate combines several utilities into a single binary to reduce the final cost.