runner
runner copied to clipboard
Install instructions
Is there a rustup install option or the binary need to built and copied to /bin?
Just say cargo install runner
and everything should happen automatically.
I'm a bit of a rust newb, so perhaps this isn't necessary, but adding that to the docs would have been helpful for me. It wasn't obvious to me how I should get started using it.
This is an awesome tool, BTW! Being able to quickly test snippets makes things much easier. And because rust code blocks are expressions I can do things like:
runner -e "{
let good_result: Result<i32, i32> = Ok(10);
let bad_result: Result<i32, i32> = Err(10);
(good_result.map(|i| i + 1), bad_result.map(|i| i - 1))
}"
As someone who uses the python REPL often, this brings me a lot closer to that. Thank you for creating this tool.
I concur with @dwaltrip. the Readme should state right up front how to install. I had no idea either