diff options
author | Andy Hayden <andyhayden1@gmail.com> | 2018-11-05 09:55:59 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-11-05 09:55:59 -0800 |
commit | 27ecfc1617c79d23255e025fcbd0257b3523906a (patch) | |
tree | e6b68b4a291372e0a479d7dff156d546ff965d30 /src/main.rs | |
parent | 5e48a681c4d6d6cb3debb4024b5108780dbbad90 (diff) |
Add repl (#998)
- Running repl from js side.
- Add tests for repl behavior.
- Handle ctrl-C and ctrl-D.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index af84b19be..ca15d468b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,6 +8,7 @@ extern crate libc; extern crate rand; extern crate remove_dir_all; extern crate ring; +extern crate rustyline; extern crate tempfile; extern crate tokio; extern crate tokio_executor; @@ -35,6 +36,7 @@ pub mod msg; pub mod msg_util; pub mod ops; pub mod permissions; +mod repl; pub mod resources; pub mod snapshot; mod tokio_util; |