deps: update dependencies

This commit is contained in:
liushuyu 2020-05-27 16:14:09 -06:00 committed by James
parent 3537b5823f
commit 9866a32c10
5 changed files with 448 additions and 259 deletions

693
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@ mime_guess = "2.0"
url = "2.1" url = "2.1"
reqwest = "0.9.22" reqwest = "0.9.22"
number_prefix = "0.3" number_prefix = "0.4"
serde = "1.0" serde = "1.0"
serde_derive = "1.0" serde_derive = "1.0"
@ -25,7 +25,7 @@ serde_json = "1.0"
toml = "0.5" toml = "0.5"
semver = {version = "0.9", features = ["serde"]} semver = {version = "0.10", features = ["serde"]}
regex = "1.3" regex = "1.3"
dirs = "2.0" dirs = "2.0"
@ -34,7 +34,7 @@ xz2 = "0.1"
tar = "0.4" tar = "0.4"
log = "0.4" log = "0.4"
fern = "0.5" fern = "0.6"
chrono = "0.4" chrono = "0.4"
clap = "2.33" clap = "2.33"
@ -51,7 +51,7 @@ winapi = { version = "0.3", features = ["psapi", "winbase", "winioctl", "winnt"]
widestring = "0.4.0" widestring = "0.4.0"
[target.'cfg(not(windows))'.dependencies] [target.'cfg(not(windows))'.dependencies]
sysinfo = "0.11" sysinfo = "0.14"
slug = "0.1" slug = "0.1"
[target.'cfg(windows)'.build-dependencies] [target.'cfg(windows)'.build-dependencies]

View File

@ -40,7 +40,7 @@ use std::fs::remove_file;
use crate::http; use crate::http;
use number_prefix::{NumberPrefix, Prefixed, Standalone}; use number_prefix::NumberPrefix::{self, Prefixed, Standalone};
use crate::native; use crate::native;

View File

@ -12,7 +12,7 @@ use crate::tasks::resolver::ResolvePackageTask;
use crate::http::stream_file; use crate::http::stream_file;
use number_prefix::{NumberPrefix, Prefixed, Standalone}; use number_prefix::NumberPrefix::{self, Prefixed, Standalone};
use crate::logging::LoggingErrors; use crate::logging::LoggingErrors;

View File

@ -113,7 +113,7 @@ var app = new Vue({
}, },
methods: { methods: {
exit: function () { exit: function () {
axios.get('/api/attrs').catch(function (msg) { axios.get('/api/exit').catch(function (msg) {
var searchLocation = app.metadata.install_path.length > 0 ? app.metadata.install_path var searchLocation = app.metadata.install_path.length > 0 ? app.metadata.install_path
: 'the location where this installer is' : 'the location where this installer is'