From ab909d2f3a0a59ae1b9a169ec79d4e9ffeddd1e1 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 21 Apr 2020 14:34:08 +0200 Subject: use readline/rustyline instead of stdin.read_line This gives us a history, nicer editing capabilities and the possibility to add completion in the future. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 2d64d51..2825776 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ dirs = "2.0" log = { version = "0.4", features = ["std"] } thiserror = "1.0" lalrpop-util = "0.18" +rustyline = "6.1" [build-dependencies] lalrpop = { version = "0.18", features = ["lexer"] } -- cgit v1.2.3