Update rustyline dev dependency
This commit is contained in:
parent
3ec076693a
commit
4fc69be5f6
|
@ -61,7 +61,7 @@ luajit-src = { version = ">= 210.4.0, < 220.0.0", optional = true }
|
||||||
luau0-src = { version = "0.3.6", optional = true }
|
luau0-src = { version = "0.3.6", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rustyline = "9.0"
|
rustyline = "10.0"
|
||||||
criterion = { version = "0.3.4", features = ["html_reports", "async_tokio"] }
|
criterion = { version = "0.3.4", features = ["html_reports", "async_tokio"] }
|
||||||
trybuild = "1.0"
|
trybuild = "1.0"
|
||||||
futures = "0.3.5"
|
futures = "0.3.5"
|
||||||
|
|
|
@ -5,7 +5,7 @@ use rustyline::Editor;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let lua = Lua::new();
|
let lua = Lua::new();
|
||||||
let mut editor = Editor::<()>::new();
|
let mut editor = Editor::<()>::new().expect("Failed to make rustyline editor");
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let mut prompt = "> ";
|
let mut prompt = "> ";
|
||||||
|
|
Loading…
Reference in New Issue