mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
chore(repl): update rustyline to 10.0.0 (#15232)
This commit is contained in:
parent
999cbfb52b
commit
1f04cea160
4 changed files with 13 additions and 13 deletions
15
Cargo.lock
generated
15
Cargo.lock
generated
|
@ -2728,12 +2728,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nix"
|
||||
version = "0.23.0"
|
||||
version = "0.24.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f305c2c2e4c39a82f7bf0bf65fb557f9070ce06781d4f2454295cc34b1c43188"
|
||||
checksum = "195cdbc1741b8134346d515b3a56a1c94b0912758009cfd53f99ea0f57b065fc"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cc",
|
||||
"cfg-if",
|
||||
"libc",
|
||||
"memoffset",
|
||||
|
@ -3625,9 +3624,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rustyline"
|
||||
version = "9.1.2"
|
||||
version = "10.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "db7826789c0e25614b03e5a54a0717a86f9ff6e6e5247f92b369472869320039"
|
||||
checksum = "1d1cd5ae51d3f7bf65d7969d579d502168ef578f289452bd8ccc91de28fda20e"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cfg-if",
|
||||
|
@ -3639,7 +3638,6 @@ dependencies = [
|
|||
"nix",
|
||||
"radix_trie",
|
||||
"scopeguard",
|
||||
"smallvec",
|
||||
"unicode-segmentation",
|
||||
"unicode-width",
|
||||
"utf8parse",
|
||||
|
@ -3648,10 +3646,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rustyline-derive"
|
||||
version = "0.6.0"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bb35a55ab810b5c0fe31606fe9b47d1354e4dc519bec0a102655f78ea2b38057"
|
||||
checksum = "107c3d5d7f370ac09efa62a78375f94d94b8a33c61d8c278b96683fb4dbf2d8d"
|
||||
dependencies = [
|
||||
"proc-macro2 1.0.39",
|
||||
"quote 1.0.18",
|
||||
"syn 1.0.96",
|
||||
]
|
||||
|
|
|
@ -86,8 +86,8 @@ pin-project = "1.0.11" # don't pin because they yank crates from cargo
|
|||
rand = { version = "=0.8.5", features = ["small_rng"] }
|
||||
regex = "=1.5.6"
|
||||
ring = "=0.16.20"
|
||||
rustyline = { version = "=9.1.2", default-features = false }
|
||||
rustyline-derive = "=0.6.0"
|
||||
rustyline = { version = "=10.0.0", default-features = false, features = ["custom-bindings"] }
|
||||
rustyline-derive = "=0.7.0"
|
||||
secure_tempfile = { version = "=3.3.0", package = "tempfile" } # different name to discourage use in tests
|
||||
semver-parser = "=0.10.2"
|
||||
serde = { version = "=1.0.139", features = ["derive"] }
|
||||
|
@ -122,7 +122,7 @@ trust-dns-client = "=0.21.2"
|
|||
trust-dns-server = "=0.21.2"
|
||||
|
||||
[target.'cfg(unix)'.dev-dependencies]
|
||||
nix = "=0.23.0"
|
||||
nix = "=0.24.2"
|
||||
|
||||
[package.metadata.winres]
|
||||
# This section defines the metadata that appears in the deno.exe PE header.
|
||||
|
|
|
@ -363,7 +363,8 @@ impl ReplEditor {
|
|||
.completion_type(CompletionType::List)
|
||||
.build();
|
||||
|
||||
let mut editor = Editor::with_config(editor_config);
|
||||
let mut editor =
|
||||
Editor::with_config(editor_config).expect("Failed to create editor.");
|
||||
editor.set_helper(Some(helper));
|
||||
editor.load_history(&history_file_path).unwrap_or(());
|
||||
editor.bind_sequence(
|
||||
|
|
|
@ -88,7 +88,7 @@ fwdansi = "1.1.0"
|
|||
winapi = { version = "0.3.9", features = ["commapi", "knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
nix = "=0.23.0"
|
||||
nix = "=0.24.2"
|
||||
|
||||
[dev-dependencies]
|
||||
# Used in benchmark
|
||||
|
|
Loading…
Reference in a new issue