Cross Platform Rust Repl
:help => print help
: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
--help prints help message
--reset-config reset IRust configuration to default
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
default config:
[History]
add_irust_cmd_to_history = false
add_shell_cmd_to_history = false
[Colors]
insert_color = White
input_color = Yellow
out_color = Red
ok_color = Blue
show_color = DarkCyan
eval_color = White
irust_color = DarkBlue
irust_warn_color = Cyan
shell_color = DarkYellow
err_color = DarkRed
[Welcome]
welcome_msg = Welcome to IRust
welcome_color = DarkBlue
0.3.8
- Add cli commands --help
--reset-config
0.3.7 - Add the abilty to configure welcome message and color
0.3.6 - Add colors to config, now you can modify all of IRust colors!
0.3.5 - Use cargo colors
0.3.4
- Add :help
command
0.3.3 - Reworked Output, now colors are everywhere and easier to add! - IRust now talks to you (outputs some warning for now)
0.3.2 - Format rustc errors to be way more better looking
0.3.1 - Fix regression: Readd expressions to history
0.3.0
- 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