Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install instructions #3

Open
sudo-ben opened this issue Sep 2, 2019 · 3 comments
Open

Install instructions #3

sudo-ben opened this issue Sep 2, 2019 · 3 comments

Comments

@sudo-ben
Copy link

sudo-ben commented Sep 2, 2019

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

@stevedonovan
Copy link
Owner

Just say cargo install runner and everything should happen automatically.

@dwaltrip
Copy link

dwaltrip commented Apr 23, 2020

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.

@ekkis
Copy link

ekkis commented Feb 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants