An attempt at remaking busybox in Rust
Find a file
2025-09-09 18:36:30 +02:00
.github/workflows chore: make the tests run on multiple things 2025-03-30 11:52:43 +03:00
coreutils feat: migrate to cargo workspaces 2025-09-09 18:36:30 +02:00
shell feat: migrate to cargo workspaces 2025-09-09 18:36:30 +02:00
src feat: add dos2unix and unix2dos 2025-04-12 09:15:04 +02:00
utils feat: add get_username to user 2025-03-30 13:29:10 +03:00
.gitignore feat: add a new argparser to minimize jank 2025-03-21 09:16:06 +02:00
Cargo.lock feat: add hostname, not busybox compatible yet! 2025-03-25 13:30:04 +02:00
Cargo.toml feat: migrate to cargo workspaces 2025-09-09 18:36:30 +02:00
CONTRIBUTING.md docs: because github complained about it 2025-03-21 09:16:06 +02:00
README.md docs: because github complained about it 2025-03-21 09:16:06 +02:00

rebox - remaking busybox with rust

this is a project to remake busybox with rust. the goal is to make a small, fast, and featureful shell with a (relatively, we are at the mercy of the rust compiler here) small binary size.

work in progress

this project is still in the early stages of development. it is not yet feature complete, and is not yet ready for general use. if you are interested in contributing, please see the CONTRIBUTING.md file.

building

$ cargo build --release
$ cp target/release/box ./cat # or any other command
$ ./cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
$ cp ./cat ./echo
$ ./echo hello, world!
hello, world!
$ cp ./echo ./box
$ ./box echo hello, world!
hello, world!
$ ./box cat /etc/passwd
root:x:0:0:root:/root:/bin/bash