runner icon indicating copy to clipboard operation
runner copied to clipboard

Install instructions

Open sudo-ben opened this issue 5 years ago • 3 comments

Is there a rustup install option or the binary need to built and copied to /bin?

sudo-ben avatar Sep 02 '19 02:09 sudo-ben

Just say cargo install runner and everything should happen automatically.

stevedonovan avatar Sep 02 '19 13:09 stevedonovan

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.

dwaltrip avatar Apr 23 '20 21:04 dwaltrip

I concur with @dwaltrip. the Readme should state right up front how to install. I had no idea either

ekkis avatar Feb 23 '24 23:02 ekkis