Mysh-rs - My first Rust project

I posted this in reddit, but didn't get any advices, criticisms. So posting this here.

I made a unix shell in rust. It is pretty basic in functionality. I would like to get feedback, criticism of my rust usage and advice on the general design in this project.

https://github.com/Swoorup/mysh-rs/

2 Likes

Very nice. Your Rust usage is pretty good. I see you're using Cow, and I haven't noticed any mistakes.

Clippy has some minor suggestions about code style:

cargo +nightly install clippy --force
cargo +nightly clippy
1 Like

Awesome stuff! I've been looking for a good example of an interpreted language/shell in Rust

1 Like

Thank you. I was surprised to discover some code style suggestions that improved readability and make code more idiomatic. :slight_smile:

2 Likes