An attempt at remaking busybox in Rust
Find a file
2026-02-06 15:40:43 +02: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
packages/nix feat: make a simple nix devshell, integrated with direnv 2026-02-06 15:40:43 +02: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
.envrc feat: make a simple nix devshell, integrated with direnv 2026-02-06 15:40:43 +02:00
.gitignore feat: make a simple nix devshell, integrated with direnv 2026-02-06 15:40:43 +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
flake.lock feat: make a simple nix devshell, integrated with direnv 2026-02-06 15:40:43 +02:00
flake.nix feat: make a simple nix devshell, integrated with direnv 2026-02-06 15:40:43 +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