From b2a1ad0611e484b57420925f51393e57c679815c Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Mon, 15 Mar 2021 21:08:41 +0800 Subject: [PATCH] chore: Upgrade rustyline to 8.0.0 (#9781) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- Cargo.lock | 10 ++++++---- cli/Cargo.toml | 6 ++---- runtime/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 89d8d7ff71..1686c6d0c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1909,9 +1909,9 @@ dependencies = [ [[package]] name = "nix" -version = "0.19.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2" +checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a" dependencies = [ "bitflags", "cc", @@ -2592,9 +2592,9 @@ dependencies = [ [[package]] name = "rustyline" -version = "7.1.0" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8227301bfc717136f0ecbd3d064ba8199e44497a0bdd46bb01ede4387cfd2cec" +checksum = "b9e1b597fcd1eeb1d6b25b493538e5aa19629eb08932184b85fef931ba87e893" dependencies = [ "bitflags", "cfg-if 1.0.0", @@ -2603,7 +2603,9 @@ dependencies = [ "log", "memchr", "nix", + "radix_trie", "scopeguard", + "smallvec", "unicode-segmentation", "unicode-width", "utf8parse", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 744ce58794..4c556fe42d 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -62,7 +62,7 @@ percent-encoding = "2.1.0" pin-project = "1.0.5" regex = "1.4.3" ring = "0.16.20" -rustyline = { version = "7.1.0", default-features = false } +rustyline = { version = "8.0.0", default-features = false } rustyline-derive = "0.4.0" semver-parser = "0.10.2" serde = { version = "1.0.123", features = ["derive"] } @@ -83,9 +83,6 @@ walkdir = "2.3.1" fwdansi = "1.1.0" winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } -[target.'cfg(unix)'.dependencies] -nix = "0.19.1" - [dev-dependencies] # Used in benchmark chrono = "0.4.19" @@ -97,6 +94,7 @@ trust-dns-client = "0.20.0" [target.'cfg(unix)'.dev-dependencies] exec = "0.3.1" # Used in test_raw_tty +nix = "0.20.0" [package.metadata.winres] # This section defines the metadata that appears in the deno.exe PE header. diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8cee59dbff..cd599c527d 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -73,7 +73,7 @@ fwdansi = "1.1.0" winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } [target.'cfg(unix)'.dependencies] -nix = "0.19.1" +nix = "0.20.0" [dev-dependencies] # Used in benchmark