How is this different from xshell? https://github.com/matklad/xshell
rust-script seems to do nothing about your general rust-code, but make it more easily accessible in a (bash) shell-like context by altering the base form of your program to be more script-like.
They seem to complement each other really, and I don’t see why one would choose one over the other, as they apparently solve different problems. One might even use both at the same time?