Skip to content

Commit

Permalink
1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Apr 20, 2021
1 parent faf1ebf commit d16eef5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**1.6.0**
- Improve scripting: Instead of a script file, now if scripting option is set, IRust will create a script project in $config/irust/script with a default template. This make it easy to add external dependencies among other advantages.
- Make script return type ffi safe

**1.5.0**
- Add scripting to IRust: Add a script manager to irust, scripting feature can be activated by a new option in the configuration file. If this option is set IRust will look for a script file in `$config/irust/script.rs` and load the functions specified there.
Currently only two functions are supported: `input_prompt` `output_prompt`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "irust"
version = "1.5.0"
version = "1.6.0"
authors = ["Nbiba Bedis <[email protected]>"]
edition = "2018"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::irust::options::Options;

use std::env;

const VERSION: &str = "1.5.0";
const VERSION: &str = "1.6.0";

pub fn handle_args(options: &mut Options) -> bool {
let args: Vec<String> = env::args().skip(1).collect();
Expand Down

0 comments on commit d16eef5

Please sign in to comment.