An attempt at remaking busybox in Rust
Find a file
User0 0cd7b3af12
feat: do error handling with anyhow, slight refactor (#6)
Co-authored-by: user0-07161 <user0thenyancat@proton.me>
2025-09-14 20:42:10 +03:00
.github/workflows chore: make the tests run on multiple things 2025-03-30 11:52:43 +03:00
coreutils feat: do error handling with anyhow, slight refactor (#6) 2025-09-14 20:42:10 +03:00
shell feat: do error handling with anyhow, slight refactor (#6) 2025-09-14 20:42:10 +03:00
src feat: do error handling with anyhow, slight refactor (#6) 2025-09-14 20:42:10 +03:00
utils feat: do error handling with anyhow, slight refactor (#6) 2025-09-14 20:42:10 +03:00
.gitignore feat: add a new argparser to minimize jank 2025-03-21 09:16:06 +02:00
Cargo.lock feat: do error handling with anyhow, slight refactor (#6) 2025-09-14 20:42:10 +03:00
Cargo.toml feat: do error handling with anyhow, slight refactor (#6) 2025-09-14 20:42:10 +03: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