Skip to content

Commit

Permalink
1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed May 5, 2021
1 parent 0b5c34e commit 3bb0e94
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
**1.7.2**
- Add `:set_executor` command to set the executor used by IRust, available options are: `sync` `tokio` `async_std`, by using an async executor, `await` becomes usable with no other modifications
- Hide warnings from evaluation output
- Added a book with tips and tricks https://sigmasd.github.io/irust_book/

**1.7.1**
-Internal refactor: split the repl engine in its own crate

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.7.1"
version = "1.7.2"
authors = ["Nbiba Bedis <[email protected]>"]
edition = "2018"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Cross Platform Rust Repl

**:asm** *\<function\>* => shows assembly of the specified function, note that the function needs to be public (requires [cargo-asm](https://github.com/gnzlbg/cargo-asm))

**:set_executor** *\<executor\>* => set the executor to be used by IRust, available options are: `sync` `tokio` `async_std`, by using an async executor, `await` becomes usable with no other modifications
**:set_executor** *\<executor\>* => set the executor to be used by IRust, available options are: `sync` `tokio` `async_std`, by using an async executor, `await` becomes usable with no other modifications (requires [cargo-edit](https://github.com/killercup/cargo-edit) for async executors)

**:executor** => print the currently used executor

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.7.1";
const VERSION: &str = "1.7.2";

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

0 comments on commit 3bb0e94

Please sign in to comment.