ryochack / rustinstant

Run Rust code instantly on the shell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rustinstant.sh

Run Rust code instantly on the shell.

Usage

$ rustinstant 'println!("hello world!")'
# => hello world

or

$ cat << EOF | rustinstant
> println!("hello world!");
> EOF
# => hello world

Flag

  • -f : enable rustfmt

About

Run Rust code instantly on the shell.

License:MIT License


Languages

Language:Shell 100.0%