rustybox
rustybox copied to clipboard
Is it possible to include some applets from toybox?
Is it possible to include some applets from toybox?
For example the file command
Toybox is BSD licence and Busybox is GPL licence, I don't know if they can be mixed together :/
That would be cool! Based on my experience with c2rust so far, I think the easiest way forward is to do by-hand rewrites in rust for most new applets, but I'd be happy to consider PRs either way! Starting with fresh rewrites helps with the licensing situation as well.
BTW, what is the licence of rustbox?
It's kind of weird right now... Busybox is GPL and rustybox is obviously transpiled from that. I'm not a lawyer, so I guess I'm just letting users figure out however they'd like to interpret the situation. The end goal is to gradually split rustybox into cargo workspaces with each applet in its own project. Then to slowly rewrite things from scratch with a less viral license.
I'd be happy to consider PRs either way
I ported toybox file command to Go before, I think I can port it to Rust.
That would be cool
It would be cooler if rustybox has some handy commands like curl
dig
nmap
7z
which are not available in both busybox and toybox.
I don't know why they made wget
and nc
but no curl
command.
I don't know why they made wget and nc but no curl command.
No idea! Happy to have them in rustybox though! I think the ideal situation will be to split each of the applets into its own cargo workspace project. That way users can have very fine-grained control over what applets they'd like to compile and could mix-and-match their favorite rustybox distro.