diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-08-02 17:58:09 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-08-02 18:59:54 +0200 |
commit | c6861b537ead4bba21817610664d68ffbe7daad5 (patch) | |
tree | 302454818d055015db5981a794ba7f123f5b0502 /cli | |
parent | 5bca001f9703940e693d6a55944ef1ee7fc67f58 (diff) |
third_party: upgrade rust crates
Diffstat (limited to 'cli')
-rw-r--r-- | cli/BUILD.gn | 6 | ||||
-rw-r--r-- | cli/Cargo.toml | 44 | ||||
-rw-r--r-- | cli/deno_error.rs | 1 |
3 files changed, 27 insertions, 24 deletions
diff --git a/cli/BUILD.gn b/cli/BUILD.gn index 84ffe6da4..9a3cad2e1 100644 --- a/cli/BUILD.gn +++ b/cli/BUILD.gn @@ -26,7 +26,6 @@ main_extern_rlib = [ "dirs", "flatbuffers", "futures", - "fwdansi", "http", "hyper", "hyper_rustls", @@ -55,7 +54,10 @@ main_extern_rlib = [ "utime", ] if (is_win) { - main_extern_rlib += [ "winapi" ] + main_extern_rlib += [ + "fwdansi", + "winapi", + ] } if (is_posix) { main_extern_rlib += [ "nix" ] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index da4812dcb..4c776d9ae 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -18,39 +18,39 @@ edition = "2018" [dependencies] deno = { path = "../core" } -ansi_term = "0.11.0" -atty = "0.2.11" +ansi_term = "0.12.0" +atty = "0.2.13" clap = "2.33.0" -dirs = "2.0.1" +dirs = "2.0.2" flatbuffers = "0.6.0" -futures = "0.1.27" -http = "0.1.17" -hyper = "0.12.30" +futures = "0.1.28" +http = "0.1.18" +hyper = "0.12.33" hyper-rustls = "0.16.1" indexmap = "1.0.2" integer-atomics = "1.0.2" lazy_static = "1.3.0" -libc = "0.2.58" -log = "0.4.6" +libc = "0.2.60" +log = "0.4.8" rand = "0.6.5" -regex = "1.1.7" +regex = "1.2.0" remove_dir_all = "0.5.2" -ring = "0.14.6" -rustyline = "4.1.0" -serde = "1.0.92" -serde_derive = "1.0.92" -serde_json = { version = "1.0.39", features = [ "preserve_order" ] } +ring = "~0.14.6" +rustyline = "5.0.1" +serde = "1.0.98" +serde_derive = "1.0.98" +serde_json = { version = "1.0.40", features = [ "preserve_order" ] } source-map-mappings = "0.5.0" -tempfile = "3.0.8" -termcolor = "1.0.4" -tokio = "0.1.21" -tokio-executor = "0.1.7" +tempfile = "3.1.0" +termcolor = "1.0.5" +tokio = "0.1.22" +tokio-executor = "0.1.8" tokio-fs = "0.1.6" tokio-io = "0.1.12" -tokio-process = "0.2.3" +tokio-process = "0.2.4" tokio-rustls = "0.9.3" -tokio-threadpool = "0.1.14" -url = "1.7.2" +tokio-threadpool = "0.1.15" +url = "2.0.0" utime = "0.2.1" [target.'cfg(windows)'.dependencies] @@ -58,4 +58,4 @@ winapi = "0.3.7" fwdansi = "1.0.1" [target.'cfg(unix)'.dependencies] -nix = "0.13.x" +nix = "0.14.1" diff --git a/cli/deno_error.rs b/cli/deno_error.rs index 2bc021f52..e024a396c 100644 --- a/cli/deno_error.rs +++ b/cli/deno_error.rs @@ -174,6 +174,7 @@ impl GetErrorKind for url::ParseError { } RelativeUrlWithoutBase => ErrorKind::RelativeUrlWithoutBase, SetHostOnCannotBeABaseUrl => ErrorKind::SetHostOnCannotBeABaseUrl, + _ => ErrorKind::Other, } } } |