Cross Platform Rust Repl
:reset => reset repl
:show => show repl current code
:add
:load => load a rust script into the repl
:: => run a shell command, example ::ls
You can use arrow keys to cycle through commands history
ctrl-l clear screen
ctrl-c clear line, double click to exit
ctrl-d exit if buffer is empty
ctrl-z [unix only] send IRust to the background
HOME/END go to line start / line end
IRust config file is located in:
Linux: /home/$USER/.config/irust/config
Win: C:\Users\$USER\AppData\Roaming/irust/config
Mac: /Users/$USER/Library/Preferences/irust/config
Current supported options:
add_irust_cmd_to_history
add_shell_cmd_to_history
0.2.2
- Handle characters like é
, ù
0.2.1x - Don't upload artifacts to crates.io
0.2.0
Credits to this release goes to the awesome suggestions and contributions of @pzmarzly
Ctrl-Z
Ctrl-C
Ctrl-D
keybindings0.1.7 - IRust - Nicer output (handle multiline and singleline diffrently)
0.1.6
- Add keybindings HOME
END
- Better add_cmd animation
- Refactor code
0.1.5
- Add keybindings ctrl-c
ctr-l
- Fix history regression
0.1.4 - Handle parsing errors and output useful info - Fix add dep regression
0.1.3 - Rely on a custom cursor struct to avoid a lot of headaches
0.1.2 - Load scripts that contains main fn
0.1.1 - Add :: to execute shell cmds - Bugfixes